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

drupal_cve_2018_7600.py is getting failed #2

Open
sekhar1240 opened this issue Oct 13, 2021 · 2 comments
Open

drupal_cve_2018_7600.py is getting failed #2

sekhar1240 opened this issue Oct 13, 2021 · 2 comments

Comments

@sekhar1240
Copy link

I have installed drupal:8.3 using docker and trying to execute your script but I was getting below error.

python3 drupal_cve_2018_7600.py http://127.0.01:8080 -c "systeminfo"

=============================================================================
| DRUPAL 7 <= 7.57 REMOTE CODE EXECUTION (CVE-2018-7600) |
| by pimps |

[*] Poisoning a form and including it in cache.
ERROR: Something went wrong.
Traceback (most recent call last):
File "drupal_cve_2018_7600.py", line 57, in
main()
File "drupal_cve_2018_7600.py", line 53, in main
pwn_target(args.target.strip(), args.function.strip(), args.command.strip(), args.proxy.strip())
File "drupal_cve_2018_7600.py", line 32, in pwn_target
form_build_id = form.find('input', {'name': 'form_build_id'}).get('value')
AttributeError: 'NoneType' object has no attribute 'find'

@zxc7528064
Copy link

me too , the same problem

@baggers27
Copy link

Looks like a typo in IP address in your command. I have just run the code and have no issues.

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

3 participants