summaryrefslogtreecommitdiff
path: root/src/main/java/com
Commit message (Collapse)AuthorAge
* Simplified code and refactored method to check also current ThrowableGravatar Matthias Jaros6 days
| | | | and also causes
* Added helper to filter out Rejected and Interrupt exceptionsGravatar Matthias Jaros7 days
|
* Handle interrupted state in CompletionConsumer. Fixed ui Shutdown nowGravatar Matthias Jaros8 days
| | | | calling now in case ui thread hangs
* Renamed Class to better match what it is doingGravatar Matthias Jaros8 days
|
* Removed parameter because the variable is global in class. RenamedGravatar Matthias Jaros8 days
| | | | parameter to consumer instead of calllable
* Also removed redundancy of poll result for logic by extracting methodsGravatar Matthias Jaros8 days
| | | | from scanner and ScanHostTask into ConsumerThread
* Extracted consumer logic into ConsumerThreadGravatar Matthias Jaros8 days
|
* Wrapped ScanPortException in classGravatar Matthias Jaros8 days
|
* End scanner immediatetly on cancellation on both the scanner andGravatar Matthias Jaros8 days
| | | | ScanHostTask
* Move aquire above try finally block to avoid miscounting and misGravatar Matthias Jaros8 days
| | | | releasing of an not aquired semaphore
* Do not allocate byte array in case there is no dataGravatar Matthias Jaros8 days
|
* Moved variable closer to usageGravatar Matthias Jaros9 days
|
* Replaced if else if else with switch. Added final to final variablesGravatar Matthias Jaros9 days
|
* Shutdown is sufficient enough for ui threadGravatar Matthias Jaros9 days
|
* Renamed variableGravatar Matthias Jaros9 days
|
* Minor RefactoringGravatar Matthias Jaros9 days
|
* Make IllegalArgumentExceptions print the same error formatGravatar Matthias Jaros9 days
|
* Moved exception HelpRequested from cliparser into App to make it moreGravatar Matthias Jaros9 days
| | | | obvious what happens.
* Let Consumer of PortResults also wait till all threads died instead ofGravatar Matthias Jaros9 days
| | | | stopping immediatetly on cancellation
* Refactored checkPort method. Seperated error handling code from businessGravatar Matthias Jaros9 days
| | | | logic
* Refactored ProducerThread:Gravatar Matthias Jaros9 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 Jaros9 days
|
* Move consumer loop into custom method and also split error handling andGravatar Matthias Jaros9 days
| | | | business logic from PortResult into seperate methods
* Refactored consumer into custom methodGravatar Matthias Jaros9 days
|
* Get rid of RejectedExecutionException when cancelling a scanGravatar Matthias Jaros10 days
|
* Fixed not waiting on shutdownNow()Gravatar Matthias Jaros11 days
|
* Added timeout to call also cancelNow() path in case something hangs badlyGravatar Matthias Jaros11 days
|
* exitcode Variable needed because finally block does not run after exitGravatar Matthias Jaros11 days
| | | | Use System.exit only if return code is !=0
* Removed useless exitcode fieldGravatar Matthias Jaros12 days
|
* FormattingGravatar Matthias Jaros12 days
|
* Do not pollute scan results with online checkGravatar Matthias Jaros12 days
|
* Minor improvementsGravatar Matthias Jaros12 days
|
* Validate portrange already in cli parser instead of printing an errorGravatar Matthias Jaros12 days
| | | | message for every host that tries to parse the specified ports
* Fixed PortScanRateLimiter global for all hosts instead of per host onlyGravatar Matthias Jaros12 days
|
* Removed possibility of setting timeout to 0 which would mean no wait atGravatar Matthias Jaros12 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