This is the core of the cSploit project. It manage, provide find and work with found resources.
As now this software in no working either it's just a preview to perform an hand-off of the work as I found other devs that want to contribute.
To work with Go lang you need to specify a path where Go will download
the required modules: export GOPATH="$HOME/.gocode"
for instance.
To run tests simply run:
go test -v ./... # run all tests in './'
go test -v ./tools/... # run all tests in './tools'
to start the daemon:
cd /path/to/cSploit/daemon/project
sudo -E go run daemon.go # root needed to sniff packets
And read nmap output from a file called sample_nmap_out.xml
.
you can generate it by running nmap -oX sample_nmap_out.xml -sV -T4 -O 192.168.0.0/24
.
If you want to import your new cool classes without pushing to github you have to do some trick:
rm -rf $GOPATH/src/github.com/cSploit/daemon
cd /path/to/cSploit/daemon/project
ln -s $(pwd) $GOPATH/src/github.com/cSploit/daemon
In IntellijIDEA ( which I suggest you to use ) open the project from
$GOPATH/src/github.com/cSploit/daemon
and you're ready to Go!