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 / 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 / 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 / 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 / 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 / set_ff.md
Created August 27, 2020 22:18 — forked from naikdij88/set_ff.md
Настройка Firefox

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

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

LINUX:

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

firefox -P
@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 / 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 / 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 / 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 / wget.sh
Created October 3, 2020 05:27 — forked from Dammmien/wget.sh
wget cheat sheet
# POST a JSON file and redirect output to stdout
wget -q -O - --header="Content-Type:application/json" --post-file=foo.json http://127.0.0.1
# Download a complete website
wget -m -r -linf -k -p -q -E -e robots=off http://127.0.0.1
# But it may be sufficient
wget -mpk http://127.0.0.1
# Download all images of a website