t0thkr1s / revshellgen

Reverse shell generator written in Python 3.
https://medium.com/infosec-adventures
GNU General Public License v3.0
508 stars 94 forks source link

Error on Mac #13

Open zzj0402 opened 1 year ago

zzj0402 commented 1 year ago
---------- [ SETUP LISTENER ] ----------

[ x ] yes
[   ] no
nc: missing port with option -l
usage: nc [-46AacCDdEFhklMnOortUuvz] [-K tc] [-b boundif] [-i interval] [-p source_port]
          [--apple-recv-anyif] [--apple-awdl-unres]
          [--apple-boundif ifbound]
          [--apple-no-cellular] [--apple-no-expensive]
          [--apple-no-flowadv] [--apple-tcp-timeout conntimo]
          [--apple-tcp-keepalive keepidle] [--apple-tcp-keepintvl keepintvl]
          [--apple-tcp-keepcnt keepcnt] [--apple-tclass tclass]
          [--tcp-adp-rtimo num_probes] [--apple-initcoproc-allow]
          [--apple-tcp-adp-wtimo num_probes]
          [--setsockopt-later] [--apple-no-connectx]
          [--apple-delegate-pid pid] [--apple-delegate-uuid uuid]
          [--apple-kao] [--apple-ext-bk-idle]
          [--apple-netsvctype svc] [---apple-nowakefromsleep]
          [--apple-notify-ack] [--apple-sockev]
          [--apple-tos tos] [--apple-tos-cmsg]
          [-s source_ip_address] [-w timeout] [-X proxy_version]
          [-x proxy_address[:port]] [hostname] [port[s]]
t0thkr1s commented 1 year ago

Hi!

The problem is not with your mac, I believe you didn't specify the port number previously. I'll give you an error message in the next release.

zzj0402 commented 1 year ago

Hi!

The problem is not with your mac, I believe you didn't specify the port number previously. I'll give you an error message in the next release.

macOS 13.0 (22A380)

% nc -lvnp 9999
nc: missing port with option -l
usage: nc [-46AacCDdEFhklMnOortUuvz] [-K tc] [-b boundif] [-i interval] [-p source_port]
      [--apple-recv-anyif] [--apple-awdl-unres]
      [--apple-boundif ifbound]
      [--apple-no-cellular] [--apple-no-expensive]
      [--apple-no-flowadv] [--apple-tcp-timeout conntimo]
      [--apple-tcp-keepalive keepidle] [--apple-tcp-keepintvl keepintvl]
      [--apple-tcp-keepcnt keepcnt] [--apple-tclass tclass]
      [--tcp-adp-rtimo num_probes] [--apple-initcoproc-allow]
      [--apple-tcp-adp-wtimo num_probes]
      [--setsockopt-later] [--apple-no-connectx]
      [--apple-delegate-pid pid] [--apple-delegate-uuid uuid]
      [--apple-kao] [--apple-ext-bk-idle]
      [--apple-netsvctype svc] [---apple-nowakefromsleep]
      [--apple-notify-ack] [--apple-sockev]
      [--apple-tos tos] [--apple-tos-cmsg]
      [-s source_ip_address] [-w timeout] [-X proxy_version]
      [-x proxy_address[:port]] [hostname] [port[s]]
zzj0402 commented 1 year ago

https://superuser.com/a/1494994/688579