You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have such error: port_scan | INFO | naabu -json -exclude-cdn -list /usr/src/scan_results/[XXX.XXX.XXX.XXX]_313/input_subdomains_port_scan.txt -p 0-65535 -c 30 -rate 1000 -timeout 5000 -silent port_scan | ERROR | get() returned more than one IpAddress -- it returned 2! Traceback (most recent call last): File "/usr/src/app/reNgine/celery_custom_task.py", line 130, in __call__ self.result = self.run(*args, **kwargs) File "/usr/src/app/reNgine/tasks.py", line 1392, in port_scan ip, _ = save_ip_address(ip_address, subdomain, subscan=self.subscan) File "/usr/src/app/reNgine/tasks.py", line 4579, in save_ip_address ip, created = IpAddress.objects.get_or_create(address=ip_address) File "/usr/local/lib/python3.10/dist-packages/django/db/models/manager.py", line 85, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 581, in get_or_create return self.get(**kwargs), False File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 439, in get raise self.model.MultipleObjectsReturned( startScan.models.IpAddress.MultipleObjectsReturned: get() returned more than one IpAddress -- it returned 2! send_scan_notif | WARNING | Sending notification "Scan #313 summary" [error]
please note that I have hid my IP address [XXX.XXX.XXX.XXX] because of sensitivity.
The file /usr/src/scan_results/[XXX.XXX.XXX.XXX]_313/input_subdomains_port_scan.txt has only one IP address in it:
XXX.XXX.XXX.XXX
The address doesn't have new line added at the end.
When I run same naabu command from the container it works fine.
Is there an existing issue for this?
Current Behavior
Hello, I am starting a scan of one ip address.
I have such error:
port_scan | INFO | naabu -json -exclude-cdn -list /usr/src/scan_results/[XXX.XXX.XXX.XXX]_313/input_subdomains_port_scan.txt -p 0-65535 -c 30 -rate 1000 -timeout 5000 -silent port_scan | ERROR | get() returned more than one IpAddress -- it returned 2! Traceback (most recent call last): File "/usr/src/app/reNgine/celery_custom_task.py", line 130, in __call__ self.result = self.run(*args, **kwargs) File "/usr/src/app/reNgine/tasks.py", line 1392, in port_scan ip, _ = save_ip_address(ip_address, subdomain, subscan=self.subscan) File "/usr/src/app/reNgine/tasks.py", line 4579, in save_ip_address ip, created = IpAddress.objects.get_or_create(address=ip_address) File "/usr/local/lib/python3.10/dist-packages/django/db/models/manager.py", line 85, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 581, in get_or_create return self.get(**kwargs), False File "/usr/local/lib/python3.10/dist-packages/django/db/models/query.py", line 439, in get raise self.model.MultipleObjectsReturned( startScan.models.IpAddress.MultipleObjectsReturned: get() returned more than one IpAddress -- it returned 2! send_scan_notif | WARNING | Sending notification "Scan #313 summary" [error]
please note that I have hid my IP address [XXX.XXX.XXX.XXX] because of sensitivity.
The file /usr/src/scan_results/[XXX.XXX.XXX.XXX]_313/input_subdomains_port_scan.txt has only one IP address in it:
The address doesn't have new line added at the end.
When I run same naabu command from the container it works fine.
Expected Behavior
The scan is successful
Steps To Reproduce
My scan engine is custom and looks like this:
My target is not subdomain, it is IP address.
I initiate new scan, it errors:
Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: