From: Kali Developers <devel@kali.org>
Date: Fri, 18 Jun 2021 11:49:06 +0200
Subject: fix-usage-output

Patched to remove the leading ./ from all of the usage examples
---
 sctpscan.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

Index: sctpscan.git/sctpscan.c
===================================================================
--- sctpscan.git.orig/sctpscan.c
+++ sctpscan.git/sctpscan.c
@@ -2199,20 +2199,20 @@ int usage()
   //  fprintf(stderr,"      Randomly scan class C networks forever\n");
   fprintf(stderr,"\n");
   fprintf(stderr,"Scan port 9999 on 192.168.1.24\n");
-  fprintf(stderr,"./sctpscan -l 192.168.1.2 -r 192.168.1.24 -p 9999\n");
+  fprintf(stderr,"sctpscan -l 192.168.1.2 -r 192.168.1.24 -p 9999\n");
   fprintf(stderr,"\n");
   fprintf(stderr,"Scans for availability of SCTP on 172.17.8.* and portscan any host with SCTP stack\n");
-  fprintf(stderr,"./sctpscan -s -l 172.22.1.96 -r 172.17.8\n");
+  fprintf(stderr,"sctpscan -s -l 172.22.1.96 -r 172.17.8\n");
   fprintf(stderr,"\n");
   fprintf(stderr,"Scans frequently used ports on 172.17.8.*\n");
-  fprintf(stderr,"./sctpscan -s -F -l 172.22.1.96 -r 172.17.8\n");
+  fprintf(stderr,"sctpscan -s -F -l 172.22.1.96 -r 172.17.8\n");
   fprintf(stderr,"\n");
   fprintf(stderr,"Scans all class-B network for frequent port\n");
-  fprintf(stderr,"./sctpscan -s -F -r 172.22 -l `ifconfig eth0 | grep 'inet addr:' |  cut -d: -f2 | cut -d ' ' -f 1 `\n");
+  fprintf(stderr,"sctpscan -s -F -r 172.22 -l `ifconfig eth0 | grep 'inet addr:' |  cut -d: -f2 | cut -d ' ' -f 1 `\n");
   fprintf(stderr,"\n");
   fprintf(stderr,"Simple verification end to end on the local machine:\n");
-  fprintf(stderr,"./sctpscan -d &\n");
-  fprintf(stderr,"./sctpscan -s -l 192.168.1.24 -r 192.168.1 -p 10000\n");
+  fprintf(stderr,"sctpscan -d &\n");
+  fprintf(stderr,"sctpscan -s -l 192.168.1.24 -r 192.168.1 -p 10000\n");
   fprintf(stderr,"\n");
   fprintf(stderr,"This tool does NOT work behind most NAT.\n");
   fprintf(stderr,"That means that most of the routers / firewall don't know how to NAT SCTP packets.\n");
