Flatlinebb Posted November 14, 2019 Share Posted November 14, 2019 Hey @Darren Kitchen I may have found a bug in the sample nmap payload, or perhaps all payloads. Please correct me if I'm wrong. At some point the count number in my nmap output files stopped advancing beyond 3. After I figured out how to execute the payload manually from SSH, by looking at the the /usr/bin/shark_framework file: bash -C payload/payload.sh I started seeing this error: payload/payload.sh: line 29: /etc/shark/nmap/scan-count: cannot overwrite existing file Line 29 is: echo $SCAN_M > $SCAN_FILE And the error is coming from the "bash -C". According to man bash, "-C If set, disallow existing regular files to be overwritten by redirection of output." Perhaps it was supposed to be a lower-case "c"? Probably not, because with -c I get: bash: payload/payload.sh: Permission denied Hope this makes sense. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.