Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected error occured: 'str' object has no attribute 'is_service_supported' #69

Open
0x11c11e opened this issue Jun 7, 2024 · 0 comments

Comments

@0x11c11e
Copy link

0x11c11e commented Jun 7, 2024

I get this error when running the latest version of the docker.

root@jok3r-docker:~/jok3r# python3 jok3r.py attack -m my_mission --profile red-team --fast

[*] Extracting targets from mission "my_mission" ...

+----+---------------+---------------+------+-------+---------+--------+---------------------------+
| id | IP/           | Hostname      | Port | Proto | Service | Banner | URL                       |
+----+---------------+---------------+------+-------+---------+--------+---------------------------+
| >1 | 192.168.1.74  | 192.168.1.74  | 80   | tcp   | http    |        | https://192.168.1.74:80    |
| 2  | 192.168.1.74  | 192.168.1.74  | 445  | tcp   | smb     |        |                           |
| 3  | 192.168.1.74  | 192.168.1.74  | 631  | tcp   | http    |        | https://192.168.1.74:631   |
| 4  | 192.168.1.115 | 192.168.1.115 | 80   | tcp   | http    |        | https://192.168.1.115:80   |
| 5  | 192.168.1.115 | 192.168.1.115 | 443  | tcp   | http    |        | https://192.168.1.115:443 |
| 6  | 192.168.1.115 | 192.168.1.115 | 5357 | tcp   | http    |        | https://192.168.1.115:5357 |
| 7  | 192.168.1.142 | 192.168.1.142 | 443  | tcp   | http    |        | https://192.168.1.142:443 |
| 8  | 192.168.1.171 | 192.168.1.171 | 443  | tcp   | http    |        | https://192.168.1.171:443 |
| 9  | 192.168.1.171 | 192.168.1.171 | 445  | tcp   | smb     |        |                           |
| 10 | 192.168.1.171 | 192.168.1.171 | 8080 | tcp   | http    |        | https://192.168.1.171:8080 |
| 11 | 192.168.1.177 | 192.168.1.177 | 443  | tcp   | http    |        | https://192.168.1.177:443 |
| 12 | 192.168.1.184 | 192.168.1.184 | 443  | tcp   | http    |        | https://192.168.1.184:443 |
+----+---------------+---------------+------+-------+---------+--------+---------------------------+


[*] Check if service is reachable...
[*] A matching service has been found in the database
[+] Updated: host 192.168.1.74 | port 80/tcp | service http
[+] Target URL https://192.168.1.74:80 is reachable
[*] HTTP Response headers:
    | Content-Type: text/html
    | Cache-Control: no-cache
    | Pragma: no-cache

[*] [SMART] SmartStart processing to initialize context...
[!] Unexpected error occured: 'str' object has no attribute 'is_service_supported'
Traceback (most recent call last):
  File "jok3r.py", line 44, in __init__
    controller.run()
  File "/root/jok3r/lib/controller/MainController.py", line 23, in run
    }.get(self.arguments.mode)(self.arguments, self.settings, self.sqlsess).run()
  File "/root/jok3r/lib/controller/AttackController.py", line 88, in run
    self.__run_for_multi_targets(args)
  File "/root/jok3r/lib/controller/AttackController.py", line 224, in __run_for_multi_targets
    self.attack_scope.attack()
  File "/root/jok3r/lib/core/AttackScope.py", line 163, in attack
    self.__attack_target(target, attack_progress)
  File "/root/jok3r/lib/core/AttackScope.py", line 199, in __attack_target
    attack_progress=attack_progress)
  File "/root/jok3r/lib/core/ServiceChecks.py", line 150, in run
    attack_progress)
  File "/root/jok3r/lib/core/ServiceChecks.py", line 325, in __run_special_mode
    if not attack_profile.is_service_supported(target.get_service_name()):
AttributeError: 'str' object has no attribute 'is_service_supported'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant