Comments (1)
moved flag setup out of init() and into flagInit(), called from main(). Got new errors related to actual go unit testing code, which is correct (errors are correct, in this context). Calling this issue "fixed".
mongoose@thoughtcrime:~/workbench/dev/golang/netbang$ go test .
Bang target: [scanme.org], Portcount: [3]
=====================================================
TCP portbangers unleashed...😎😎💀
Jobs run: 3
bangScan Results
================================================================================
[scanme.org:80] --> [😎] OPEN
[scanme.org:22] --> [😎] OPEN
[scanme.org:23] --> [💀] ERROR: dial tcp 45.33.32.156:23: connect: connection refused
--- FAIL: TestScanConstruct (0.00s)
netbang_test.go:24: (*ScanSpec)Init(bangspan): Error. Portlist set: [0]; Want: [65]
DNS lookup: [example.com] Resolver: [1.1.1.1] Port: 53
Host [example.com] resolves as:
IP #1: 93.184.216.34
IP #2: 2606:2800:220:1:248:1893:25c8:1946
DNS lookup: [1.1.1.1] Resolver: [1.1.1.1] Port: 53 (reverse lookup)
Host 1.1.1.1 resolves as:
IP #1: one.one.one.one.
2024/04/03 17:21:13 Nameserver-set: [1.1.1.1:443]
FAIL
FAIL chux0r.org/netbang 2.299s
FAIL
from netbang.
Related Issues (20)
- MVP UI essentials :: <TARGET>, last item in CLI invocation HOT 2
- in version 0.24 alpha --ports spec flag still scans a named list (win_test list) when single port specified HOT 2
- UDP scanning HOT 1
- ICMP scanning / packet gen & send HOT 1
- Hardware addr/local network info gather + activity graphing + basic MAC decode
- DNS recon MVP HOT 1
- Scanning mode: IP/network range sampling engine (linear rand, stratified, stratified rand)
- Raw IP socket tool + TCP flag mayhem/custom scan constructor HOT 3
- PORTLIST: Read named standard lists from configuration file HOT 1
- Shodan target recon info module HOT 3
- default timeout on UDP scanning can make scan hang very long HOT 3
- Half-open scan SYN-> SYN<-ACK (TCP flagmuck mvp) HOT 2
- Create build-test script for linux/bash HOT 2
- Verbosity control flags, default + output HOT 1
- tcp/udp --portsfile does not seem to work. ALSO: UDP defaults to TCP list HOT 13
- Shodan recon confused when key is set in env HOT 1
- refactor/modularize code not needed in package main HOT 2
- OOB Port number specified is used anyway. HOT 2
- WHOIS data recon MVP
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from netbang.