Makes reverse shell script work if resize listener isn't available
This commit is contained in:
parent
afb6634bec
commit
830c040a92
1 changed files with 3 additions and 2 deletions
|
@ -52,8 +52,9 @@ function display() {
|
||||||
echo -n "$reverseShell" | /usr/bin/xclip -i -selection clipboard
|
echo -n "$reverseShell" | /usr/bin/xclip -i -selection clipboard
|
||||||
echo -n "$reverseShell" | /usr/bin/xclip -i -selection primary
|
echo -n "$reverseShell" | /usr/bin/xclip -i -selection primary
|
||||||
|
|
||||||
resize-netcat-listener -r /home/jonathan/go/src/resize-nc-listener/examples/stty-resize-copy $port
|
type -p resizeblar-netcat-listener &&
|
||||||
#nc -lvnp $port
|
resize-netcat-listener -r /home/jonathan/go/src/resize-nc-listener/examples/stty-resize-copy $port ||
|
||||||
|
nc -lvnp $port
|
||||||
#Put the tty back to normal
|
#Put the tty back to normal
|
||||||
# This is useful if I got a nice shell before
|
# This is useful if I got a nice shell before
|
||||||
stty -raw echo
|
stty -raw echo
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue