Gist for VW
This file contains hidden or 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
| def send_message(msg): | |
| import requests | |
| TOKEN="BOT_TOKEN" | |
| DESTINATION="12312312" | |
| API_URL=f"https://api.telegram.org/bot{TOKEN}/sendMessage?text={msg}&chat_id={DESTINATION}" | |
| response = requests.get(API_URL) | |
| print(response.json()) | |
| send_message("Hello") |
This file contains hidden or 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
| docker pull kalilinux/kali-rolling | |
| apt-get update | |
| # Password | |
| apt install -y hydra \ | |
| metasploit-framework \ # ! > 1gb | |
| hashcat \ # needs GPU | |
| nikto # webserver security | |
This file contains hidden or 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
| #!/bin/bash | |
| sudo apt-get update | |
| sudo apt-get upgrade | |
| sudo ufw allow 22 | |
| sudo ufw allow 80 | |
| sudo ufw allow 443 | |
| sudo ufw disable | |
| sudo ufw enable |
NewerOlder