This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Dikte sadece dolu alanı almak için: | |
rootfs: | |
512Mbyte * 1024Kb *1024 Byte | |
Bootloader: | |
16Mbyte * 1024Kb *1024 Byte | |
== 553648128 bytes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TASK 1 : Get Clean Azire VPN Wireguard Servers Domains | |
https://www.azirevpn.com/docs/servers | |
``` | |
##### | |
CA Toronto ca-tor.azirevpn.net UDP 1 to 51820 | |
DK Copenhagen dk-cph.azirevpn.net UDP 1 to 51820 | |
FI Helsinki fi-hel.azirevpn.net UDP 1 to 51820 | |
FR Paris fr-par.azirevpn.net UDP 1 to 51820 | |
DE Frankfurt de-fra.azirevpn.net UDP 1 to 51820 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
macs [email protected],[email protected],[email protected] | |
Hostkeyalgorithms [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],ssh-ed25519,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,[email protected],[email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Read IP hosts from ip.txt and iterate through them | |
# send "executable" file over ssh and do some stuff | |
while IFS= read -r dest; do | |
if scp -P8787 -O -oHostKeyAlgorithms=+ssh-rsa executable "root@$dest:/tmp/."; then | |
echo "Success fw transfer: $dest" | |
fi | |
if ssh -n -oHostKeyAlgorithms=+ssh-rsa "root@$dest" -p22 'mv /tmp/executable /root/executable && chmod +x /root/executable && ls -lah /root/executable'; then | |
echo "Success: $dest" | |
sleep 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Default 100 if you access this limit you will be blocked | |
SHOW VARIABLES LIKE 'max_connect_errors'; | |
+--------------------+-------+ | |
| Variable_name | Value | | |
+--------------------+-------+ | |
| max_connect_errors | 100 | | |
+--------------------+-------+ | |
1 row in set (0.00 sec) | |
# increase the limits (think about what you done) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get install stun | |
sudo stun stun.callwithus.com 0 | |
# output | |
STUN client version 0.97 | |
running test number 0 | |
Primary: Independent Mapping, Port Dependent Filter, preserves ports, no hairpin | |
Return value is 0x000017 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## without ssh passwd | |
sudo wireshark -k -i <(ssh [email protected] -p 22 tcpdump -s 0 -U -n -w - -i igb3 host 192.168.30.114 and not tcp port 22) | |
## with password | |
mkfifo /tmp/test.pcapng | |
chmod +wr /tmp/test.pcapng | |
sudo wireshark -k -i /tmp/test.pcapng & | |
ssh [email protected] -p 22 tcpdump -s 0 -U -n -w - -i igb3 host 192.168.30.114 and not tcp port 22 > /tmp/test.pcapng |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Ping tool | |
## LINUX ## | |
#prohibit fragmentation even local one | |
ping -s 1462 -M do 195.175.39.49 | |
#do PMTU discovery, fragment locally when packet size is large | |
ping -s 1472 -M want 195.175.39.49 | |
========================================= |