v0idcat / Gridscan

GNU General Public License v3.0
0 stars 0 forks source link

"Full scan" TCP is not working as intended; parsed data is not being used correctly. #2

Closed v0idcat closed 3 years ago

v0idcat commented 3 years ago

Issue is mostly on Lines 342 & 354. Check if it's on any other places.

v0idcat commented 3 years ago

Testing full scan with no quickscan results present beforehand. Results:

  1. Error #485: Your port specifications are illegal. Example of proper form: "-100,200-1024,T:3000-4000,U:60000-"
  2. Modifications done: 2.1: FROM: cat nmap/quickscan.nmap | grep open | cut -d \" \" -f 1 | cut -d \"/\" -f 1 | tr \"\n\" \",\" | cut -c3- | head -c-2 > nmap/parsedquickscan.txt 2.2: TO: cat nmap/quickscan.nmap | grep 'open\|filtered' | cut -d \" \" -f 1 | cut -d \"/\" -f 1 | tr \"\n\" \",\" | head -c-1 > nmap/parsedquickscan.txt

This happened because the parsing command wasn't working as intended. A little modification went a long way. Further testing on several boxes might be a good idea to find other possible bugs but so far, everything is good.