Skip to content

Instantly share code, notes, and snippets.

View antonydevanchi's full-sized avatar
💭
I may be slow to respond.

Anton Piskunov antonydevanchi

💭
I may be slow to respond.
View GitHub Profile
@antonydevanchi
antonydevanchi / docker-cleanup-resources.md
Created September 24, 2020 05:17 — forked from bastman/docker-cleanup-resources.md
docker cleanup guide: containers, images, volumes, networks

Docker - How to cleanup (unused) resources

Once in a while, you may need to cleanup resources (containers, volumes, images, networks) ...

delete volumes

// see: https://github.com/chadoe/docker-cleanup-volumes

$ docker volume rm $(docker volume ls -qf dangling=true)

$ docker volume ls -qf dangling=true | xargs -r docker volume rm

@antonydevanchi
antonydevanchi / banks-websites-from-cbr.txt
Created September 9, 2020 02:40
Parsed cbr.ru/banking_sector/credit/FullCoList/
131.ru
1cb.ru
1erc.ru
2019.delo.ru
3ds.ubrr.ru
3dsmc.ubrr.ru
7305115.ru
abr.ru
absolutbank.ru
achinsk.ubrr.ru
@antonydevanchi
antonydevanchi / banks.txt
Created September 3, 2020 04:32 — forked from ameshkov/banks.txt
Adguard HTTPS exclusions: banks and financial services
masterpass.com
masterpass.ch
twint.ch
194.105.148.87
213.135.106.194
24banking.md
24comertbank.md
95.56.246.182
a-3.ru
a24.a-bank.com.ua
@antonydevanchi
antonydevanchi / set_ff.md
Created August 27, 2020 22:19 — forked from Guest007/set_ff.md
Настройка Firefox

I. СОЗДАНИЕ НОВОГО ПРОФИЛЯ

Используйте менеджер профилей, чтобы создать новый профиль Firefox.

LINUX:

В терминале (консоли) Linux исполните команду от обычного пользователя:

firefox -P
@antonydevanchi
antonydevanchi / set_ff.md
Created August 27, 2020 22:18 — forked from naikdij88/set_ff.md
Настройка Firefox

I. СОЗДАНИЕ НОВОГО ПРОФИЛЯ

Используйте менеджер профилей, чтобы создать новый профиль Firefox.

LINUX:

В терминале (консоли) Linux исполните команду от обычного пользователя:

firefox -P
@antonydevanchi
antonydevanchi / part1.txt
Created July 26, 2020 23:50
From real world From
From: bingbot(at)microsoft.com
From: [email protected]
From: googlebot(at)googlebot.com
From: [email protected]
@antonydevanchi
antonydevanchi / get-user-agents.shitbash
Last active February 7, 2021 20:56
Parse custom Laravel logs and get list with only unique User-Agents
# Okay.
# It's just a few lines in «shitbash» language.
# Shitbash is awesome! It's great tool for scripts which you run once.
# So... Oh, yeah! You can go fuck yourself if you want say something about quality of this line.
cat storage/logs/laravel.log | grep 'User-Agent:' | sort --unique
User-Agent: node-fetch/1.0 (+https://github.com/bitinn/node-fetch)
User-Agent: Opera/9.80 (Windows NT 5.1; U; ru) Presto/2.2.15 Version/10.01
User-Agent: Pandalytics/1.0 (https://domainsbot.com/pandalytics/)
@antonydevanchi
antonydevanchi / get-subdomains.shitbash
Created July 26, 2020 04:46
Parse dnstap.log and get list with only unique subdomains
# Okay.
# It's just a few lines in «shitbash» language.
# Shitbash is awesome! It's great tool for scripts which you run once.
# So... Oh, yeah! You can go fuck yourself if you want say something about quality of this line.
dnstap -r /var/log/knot.tap > /opt/dnstap.log
07:35:58.000000 AQ 0.0.0.0 UDP 42b "domain.tld." IN A
07:35:59.000000 AQ 0.0.0.0 UDP 42b "domain.tld." IN A
07:35:59.000000 AQ 0.0.0.0 UDP 42b "domain.tld." IN AAAA
@antonydevanchi
antonydevanchi / part1.txt
Created July 26, 2020 04:36
From real world not exists subdomains was requested by DNS
01
02
03
0
100
100
101
101
102
103
@antonydevanchi
antonydevanchi / 00-all.txt
Last active March 23, 2023 12:34
List of values HTTP Header "User-Agent" which you may meet in the real world. Crafted by hands from nginx's access.log entire many high-loaded projects
"Mozilla/5.0
"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36"
'Cloud mapping experiment. Contact [email protected]'
'Mozilla/5.0 (compatible; Seekport Crawler; http://seekport.com/'
() { :; }; echo ; echo ; /bin/cat /etc/passwd
(CASE WHEN (1933=6210) THEN 'Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/531.4 (KHTML, like Gecko) Chrome/3.0.194.0 Safari/531.4' ELSE 1933*(SELECT 1933 FROM DUAL UNION SELECT 6210 FROM DUAL) END)
(CASE WHEN (3405=3405) THEN 3405 ELSE 3405*(SELECT 3405 FROM DUAL UNION SELECT 8193 FROM DUAL) END)
(CASE WHEN (5046=4939) THEN 5046 ELSE 5046*(SELECT 5046 FROM DUAL UNION SELECT 4939 FROM DUAL) END)
(CASE WHEN (7404=7404) THEN 'Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/531.4 (KHTML, like Gecko) Chrome/3.0.194.0 Safari/531.4' ELSE 7404*(SELECT 7404 FROM DUAL UNION SELECT 6679 FROM DUAL) END)