Closed MarkelAlvarez closed 4 years ago
It's weird. Can you just comment out slack token in your ~/.bashrc
file and run ./osmedeus/scripts/reload.py
again?
There was nothing related to the slack token on ~/.bashrc
. I do not have an Slack account and I would like to disable that feature. This is what the program shows:
[RUN] Starting Django API
----------------------------------------------------------------------
Performing system checks...
System check identified no issues (0 silenced).
December 13, 2019 - 10:15:03
Django version 2.2.8, using settings 'rest.settings'
Starting development server at http://0.0.0.0:8000/
Quit the server with CONTROL-C.
[+] Authentication success
[*] Workspaces already exists. Use '-w <new workspace name>' option if you want to create new one
---<---<--@ Target: home.cern @-->--->---
----------------------------------------------------------------------
[RUN] Vulnerabily Scanning
----------------------------------------------------------------------
[+] Clean old activities for home.cern:VulnScan
[*] Sending status notification to slack
[*] Starting pre routine for VulnScan
[+] Starting Nmap all port
[*] Waiting for VulnScan module
[*] Starting post routine for VulnScan
[*] Starting pre routine for VulnScan
[+] Cleaning for Screenshot on ports found:clean_gowitness
[+] Update Summaries table from: /root/.osmedeus/workspaces/home.cern/vulnscan/formatted-summary-home.cern.txt
[+] Starting CSV beautify
[+] Starting Screenshot on ports found
[*] Execute: /root/Apps/Osmedeus/plugins/go/gowitness file -s /root/.osmedeus/workspaces/home.cern/vulnscan/scheme-home.cern.txt -t 30 --log-level fatal --destination /root/.osmedeus/workspaces/home.cern/vulnscan/screenshot/raw-gowitness/ --db /root/.osmedeus/workspaces/home.cern/vulnscan/screenshot/gowitness.db
/bin/sh: 1: /root/Apps/Osmedeus/plugins/go/gowitness: not found
----------------------------------------------------------------------
Something went wrong with the command below:
/root/Apps/Osmedeus/plugins/go/gowitness file -s /root/.osmedeus/workspaces/home.cern/vulnscan/scheme-home.cern.txt -t 30 --log-level fatal --destination /root/.osmedeus/workspaces/home.cern/vulnscan/screenshot/raw-gowitness/ --db /root/.osmedeus/workspaces/home.cern/vulnscan/screenshot/gowitness.db
----------------------------------------------------------------------
[*] Waiting for VulnScan module
[*] Starting post routine for VulnScan
[+] Cleaning for Screenshot on ports found:clean_gowitness
[*] Execute: /root/Apps/Osmedeus/plugins/go/gowitness generate -n /root/.osmedeus/workspaces/home.cern/vulnscan/screenshot/home.cern-raw-gowitness.html --destination /root/.osmedeus/workspaces/home.cern/vulnscan/screenshot/raw-gowitness/ --db /root/.osmedeus/workspaces/home.cern/vulnscan/screenshot/gowitness.db
/bin/sh: 1: /root/Apps/Osmedeus/plugins/go/gowitness: not found
----------------------------------------------------------------------
Something went wrong with the command below:
/root/Apps/Osmedeus/plugins/go/gowitness generate -n /root/.osmedeus/workspaces/home.cern/vulnscan/screenshot/home.cern-raw-gowitness.html --destination /root/.osmedeus/workspaces/home.cern/vulnscan/screenshot/raw-gowitness/ --db /root/.osmedeus/workspaces/home.cern/vulnscan/screenshot/gowitness.db
----------------------------------------------------------------------
[-] Output not found: /root/.osmedeus/workspaces/home.cern/vulnscan/screenshot/home.cern-raw-gowitness.html
[*] Starting pre routine for VulnScan
[*] Waiting for VulnScan module
[*] Starting post routine for VulnScan
----------------------------------------------------------------------
[ESTIMATED] VulnScan module executed in 4.70 seconds.
----------------------------------------------------------------------
[*] Sending done notification to slack
Does it really send a message to your slack? or just print Sending ... notification to slack
in the console because maybe I forget to not print that line even when no slack is configured.
It does not send any message to my slack because I don't have one, I don not want to have the slack featured activated when I run the program
I've just fixed that message. Now it's only print when you have valid slack token configured.
Thank you!
Even though I don't put the slack token the program keeps running it by default, how can I disable it?