Skip to content

Instantly share code, notes, and snippets.

View timhok's full-sized avatar
πŸ’­
Β γ€€β€―β€‰β€‡β€…β€„β€ƒβ€‚β€β€€β€Ž

timhok

πŸ’­
Β γ€€β€―β€‰β€‡β€…β€„β€ƒβ€‚β€β€€β€Ž
View GitHub Profile
#!/usr/bin/env python3
"""Protocol probe client β€” run on your machine"""
import socket
import struct
import time
import sys
VPS = sys.argv[1] if len(sys.argv) > 1 else input("VPS IP: ").strip()
# Protocols to test
@timhok
timhok / README.md
Last active July 30, 2020 14:10
Easy metasploit web shell

This script utilizes shellinabox with msfconsole to create an easy-to-use web shell that can be accessed in any browser (Tor browser too 😈)

All you need is a fresh Centos 7+ server

If you ok with all dangers of piping curl to bash, just run this from root:

bash <(curl -sL https://gist.githubusercontent.com/timhok/ab1ceb8d311fc13788ecceac9176fbf8/raw/1ce253710fe2b8cdcb5f6fe344a383b174bc29eb/install.sh)

After its done, you should see the line "Your msf console is ready: http:///msf/", and shell should be accessible in the browser