scnr / installer

Installation script for Codename SCNR.
https://ecsypno.com/pages/codename-scnr
26 stars 3 forks source link

ASAP scan on WebUI not running after creation #29

Open QuanPham247 opened 10 months ago

QuanPham247 commented 10 months ago

I have scheduled a ASAP scan, but its status is still pending after the creation. I noticed that if a scan was running, the terminal that started the WebUI would show live progress of the scan. Is there anything that I missed? image image

cmicallef commented 10 months ago

Same issue scans will not start !!

Zapotek commented 10 months ago

I can't reproduce this one, any more info available please?

Deve-OP commented 8 months ago

Screenshot_2024-01-06_00_00_20

Have the same issue. scan not starting

Zapotek commented 8 months ago

Hello,

What does it show on the terminal?

Proggggger commented 8 months ago

Same issue One time scan starts and finishes ok, but next time I trying to make another scan it's just not starting (pending status) Even with -O Verbose nothing interesting in terminal

Proggggger commented 8 months ago
`./bin/scnr_pro -O Verbose
Puma starting in single mode...
* Puma version: 5.6.2 (ruby 2.7.7-p221) ("Birdie's Version")
*  Min threads: 0
*  Max threads: 5
*  Environment: production
*          PID: 1063306
* Listening on http://0.0.0.0:9292
Use Ctrl-C to stop
127.0.0.1 - - [06/Jan/2024:05:14:15 -0600] "GET /cable/ HTTP/1.1" -1 - 0.1291
127.0.0.1 - - [06/Jan/2024:05:14:28 -0600] "GET /sites/1/scans/1/issues?filter%5Bseverities%5D%5B%5D=high&filter%5Bseverities%5D%5B%5D=medium&filter%5Bseverities%5D%5B%5D=low&filter%5Bstates%5D%5B%5D=trusted&filter%5Btype%5D=include HTTP/1.1" 200 - 0.1344
127.0.0.1 - - [06/Jan/2024:05:14:28 -0600] "GET /cable/ HTTP/1.1" -1 - 0.0219
127.0.0.1 - - [06/Jan/2024:05:15:05 -0600] "GET /sites/1 HTTP/1.1" 302 - 0.0136
127.0.0.1 - - [06/Jan/2024:05:15:05 -0600] "GET /sites/1/issues?filter%5Bseverities%5D%5B%5D=high&filter%5Bseverities%5D%5B%5D=medium&filter%5Bseverities%5D%5B%5D=low&filter%5Bstates%5D%5B%5D=trusted&filter%5Btype%5D=include HTTP/1.1" 200 - 0.0694
`
Zapotek commented 8 months ago

What distro are you using and how did you install Codrname SCNR?

Proggggger commented 8 months ago

Kali, tried both manual and with script hm... maybe I should try to remove .scnr dir and make clean manual install once more...

Zapotek commented 8 months ago

@Proggggger I'll install Kali and see if I can reproduce it, thanks.

Proggggger commented 8 months ago

strange thing that it worked one time...

Deve-OP commented 8 months ago

@Proggggger I'll install Kali and see if I can reproduce it, thanks.

my command line is normal without error. just the scan wont start.. i'm using kali linux too. the command line interface work fine just the web UI

Proggggger commented 8 months ago

in my case reinstall and reboot helped, maybe some system lag...

Deve-OP commented 8 months ago

in my case reinstall and reboot helped, maybe some system lag...

You mean the web UI work when you remove the reinstall and reboot?

Proggggger commented 8 months ago

You mean the web UI work when you remove the reinstall and reboot?

in my case it helped, but it still does not show any reason why it behaves so

maybe some processes don't stop correctly and it does not allow to start scan, or maybe something wrong with task planner (no source so no way to check...)

Zapotek commented 8 months ago

Still couldn't reproduce, fresh Kali Virtualbox VM works fine.

Proggggger commented 8 months ago

Still couldn't reproduce, fresh Kali Virtualbox VM works fine.

ok, this means issue is not kali related... I also had OpenVpn turned on, but I don't think it's reason... it's some really floating issue, without detailed logging it's hard to track... if I catch it again I'll try to explore it more

Zapotek commented 8 months ago

Connections are to localhost so I don't think OpenVPN is the issue.

I'm still testing on Kali to try and reproduce but have yet to come across it.

Edit: Might want to try the latest package, but please first delete ~/.scnr. Uploaded it 2 hrs ago.

Zapotek commented 8 months ago

Hey,

Can you give the latest release a try please?

Cheers!

souplim commented 1 week ago

image

Hello Same issue here. I have never scan even once, but it is just pending and nothing happened.

Zapotek commented 1 week ago

image

Hello Same issue here. I have never scan even once, but it is just pending and nothing happened.

Hello,

Which distribution are you using?

Cheers

souplim commented 1 week ago

image Im using Ubuntu