summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Removed parameter because the variable is global in class. RenamedGravatar Matthias Jaros7 days
| | | | parameter to consumer instead of calllable
* Also removed redundancy of poll result for logic by extracting methodsGravatar Matthias Jaros7 days
| | | | from scanner and ScanHostTask into ConsumerThread
* Extracted consumer logic into ConsumerThreadGravatar Matthias Jaros7 days
|
* Wrapped ScanPortException in classGravatar Matthias Jaros7 days
|
* End scanner immediatetly on cancellation on both the scanner andGravatar Matthias Jaros7 days
| | | | ScanHostTask
* Move aquire above try finally block to avoid miscounting and misGravatar Matthias Jaros7 days
| | | | releasing of an not aquired semaphore
* Do not allocate byte array in case there is no dataGravatar Matthias Jaros7 days
|
* Moved variable closer to usageGravatar Matthias Jaros7 days
|
* Replaced if else if else with switch. Added final to final variablesGravatar Matthias Jaros7 days
|
* Shutdown is sufficient enough for ui threadGravatar Matthias Jaros7 days
|
* Renamed variableGravatar Matthias Jaros7 days
|
* Minor RefactoringGravatar Matthias Jaros7 days
|
* Make IllegalArgumentExceptions print the same error formatGravatar Matthias Jaros7 days
|
* Moved exception HelpRequested from cliparser into App to make it moreGravatar Matthias Jaros7 days
| | | | obvious what happens.
* Let Consumer of PortResults also wait till all threads died instead ofGravatar Matthias Jaros7 days
| | | | stopping immediatetly on cancellation
* Refactored checkPort method. Seperated error handling code from businessGravatar Matthias Jaros7 days
| | | | logic
* Refactored ProducerThread:Gravatar Matthias Jaros7 days
| | | | | | - Stopped exposing of semaphore used to control amount of workers - No outside modification of crucial ProducerState necessary - Moved aquire up before getting things out of the queue
* Minor refactoringGravatar Matthias Jaros8 days
|
* Move consumer loop into custom method and also split error handling andGravatar Matthias Jaros8 days
| | | | business logic from PortResult into seperate methods
* Refactored consumer into custom methodGravatar Matthias Jaros8 days
|
* Get rid of RejectedExecutionException when cancelling a scanGravatar Matthias Jaros9 days
|
* Fixed not waiting on shutdownNow()Gravatar Matthias Jaros9 days
|
* Added timeout to call also cancelNow() path in case something hangs badlyGravatar Matthias Jaros10 days
|
* exitcode Variable needed because finally block does not run after exitGravatar Matthias Jaros10 days
| | | | Use System.exit only if return code is !=0
* Removed useless exitcode fieldGravatar Matthias Jaros10 days
|
* FormattingGravatar Matthias Jaros10 days
|
* Do not pollute scan results with online checkGravatar Matthias Jaros11 days
|
* Minor improvementsGravatar Matthias Jaros11 days
|
* Validate portrange already in cli parser instead of printing an errorGravatar Matthias Jaros11 days
| | | | message for every host that tries to parse the specified ports
* Fixed PortScanRateLimiter global for all hosts instead of per host onlyGravatar Matthias Jaros11 days
|
* Removed possibility of setting timeout to 0 which would mean no wait atGravatar Matthias Jaros11 days
| | | | all.
* Print error in CliPrinter instead of ScannerGravatar Matthias Jaros2026-08-13
|
* Wrapped exceptions in PortScanResultAccumulator instead of printing themGravatar Matthias Jaros2026-08-13
| | | | and messing with cliprinter
* Renamed PortResultAccumulator to PortScanResultAccumulator which matchesGravatar Matthias Jaros2026-08-13
| | | | | | better what it does. Also now added feature to count appearance of certain exceptions and which ports are affected and print error log now in only one line instead of 10000x
* Added ScanHostException to wrap lower level Exceptions and also encodeGravatar Matthias Jaros2026-08-13
| | | | host info in it.
* Moved ProducerThread counter to ProducerThreadGravatar Matthias Jaros2026-08-13
|
* Increased speed 1000x times by replacing hostGravatar Matthias Jaros2026-08-13
| | | | | reachable method with another port scan task. The speed is gained by removing thread pinning method isReachable()
* Renamed jscanner package to jnsGravatar Matthias Jaros2026-08-12
|
* Moved exitCode up into main try catch logicGravatar Matthias Jaros2026-08-12
|
* Minor improvementsGravatar Matthias Jaros2026-08-12
|
* Cancellation method better namingGravatar Matthias Jaros2026-08-12
|
* Major refactoring of package structureGravatar Matthias Jaros2026-08-12
|
* Error similar to result outputGravatar Matthias Jaros2026-08-11
|
* Boundaries: Added PortList class to encapsulate BitSet and thus have aGravatar Matthias Jaros2026-08-11
| | | | clear boundary to the outside world that uses the result
* Added commentGravatar Matthias Jaros2026-08-11
|
* Instead of reading a string as banner read bytes and then inGravatar Matthias Jaros2026-08-10
| | | | ServiceDetector convert to string
* Changed name and description of cli parametersGravatar Matthias Jaros2026-08-08
|
* Improved printing of errors at resultGravatar Matthias Jaros2026-08-07
| | | | Improved printing of success results
* Improved error messagesGravatar Matthias Jaros2026-08-07
|
* Created central variable for poll interval. Set interval even higherGravatar Matthias Jaros2026-08-07
| | | | | than before since it only affects reaction time to idle events and does not effect performance when data arrives