elddy / nimscan Goto Github PK
View Code? Open in Web Editor NEWπ Fast Port Scanner π
License: MIT License
π Fast Port Scanner π
License: MIT License
Hello,
It seems that the instructions of compiling the new version are not correct. I tried the command you listed in your README.md and also looked at the test.c, but failed to compile. You could provide me with the latest .exe or update the README.md please?
Using Kali Linux latest nim and gcc package installed.
when i start the nimscan.exe on windows cmd webshell,somewrong happend ;
like #nimscan.exe -o:result > output
can resolve it ?
#########
oserr.nim(94) raiseOSError
Error: unhandled exception:ε₯ζζ ζγ
#############
i have no idea how could pack it up to an exe.
my try in test.c :
scan(IP, ports, size); // Scan given ports with default configuration (timeout = 1500ms, files = 5000)
scanner(IP, NULL, 0, ""); // Scanning all 65K ports with given arguments
However ,everytime it comes to :
test.c:19:10: ιθ――οΌexpected expression before β<β token
it seems that IP/Host havn't been clained, may i get u help?
I like this port scanner very much, it is fast and accurate, but the output format is not very friendly
I am trying to compile a Nim software on a Linux ARM platform, but I am encountering a compilation error related to an undeclared identifier LPCSTR in the file ip_seg.nim. The error message is as follows:
/root/nim/NimScan/modules/ip_seg.nim(12, 25) Error: undeclared identifier: 'LPCSTR'
After investigating the issue, I found that LPCSTR is a Windows-specific data type that does not exist on Linux systems. It seems that the code in ip_seg.nim is referring to Windows API related headers, which is causing the error.
I would like to request help in resolving this issue. Is there a way to make the code cross-platform compatible or to use Linux-specific headers instead of Windows headers? Any guidance on how to proceed would be greatly appreciated.
Thank you for your help.
I want to know where the performance bottleneck is.
Nice port scanner. Nim looks like an awesome language too! :)
compiled using the command
nim c \NimScan-master\NimScan.nim
with the latest nim compiler (1.6.4)
and got the error:
NimScan-master\modules\param_parser.nim(110, 39) Error: type mismatch: got <string, string>
but expected one of:
proc calc_range(subnet: string): seq[string]
first type mismatch at position: 2
extra argument given
1 other mismatching symbols have been suppressed; compile with --showAllMismatches:on to see them
expression: calc_range(range1, range2)
NimScan/modules/globals.nim(5, 28) Error: cannot open file: OSDiscovery
The cidr range for 192.168.1.1/25 should include 192.168.1.1 to 192.168.1.127 inclusive.
In file ip_seg.nim
, the line last[3] = $(last[3].parseInt() -1)
excludes the final value and should be last[3] = $(last[3].parseInt())
.
This fix would allow a single IP in cidr notation (192.168.1.1/32) and correct the range to include the last ip in each cidr range
windows xp:
could not import: inet_pton
windows 2000:
could not import: getaddrinfo
Tried gcc test.c -L. -1:NimScanToC.a -w -o NimScan.exe
came up with heap of errors
is this the right command?
Windows Defender said it's a Trojan
Trojan:Win64/CryptInject!MSR
Can I export scan results to a fileοΌ
oserr.nim(94) raiseOSError
asyncfutures.nim(372) read
asyncfutures.nim(372) read
Error: unhandled exception: Too many open files [OSError]
oserr.nim(94) raiseOSError
asyncfutures.nim(372) read
asyncfutures.nim(372) read
Error:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.