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

Fix unable to sniff and deface. #332

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Akshay-Arjun
Copy link

@Akshay-Arjun Akshay-Arjun commented Dec 24, 2022

  1. Fixes Unable to sniff post data. Undefined method `unescape' for URI:Module #331 . Now xerosploit can capture post data successfully.

As the URI.unescape is deprecated for Ruby 2.7.x so, we need to use URI.decode_www_form_component for URL decoding.
https://ruby-doc.org/stdlib-2.5.3/libdoc/uri/rdoc/URI/Escape.html#method-i-unescape

  1. Fixes Error while defacing #333
    In Xerosploit.py line 774 and 778 there is /home/home/xero-html.html , Here not everyone have their username as home so it fails to create and open file. I have made changes to it so that it will now create a xerodeface directory inside opt/xerosploit/ and store the xero-html.html inside it.

@Akshay-Arjun Akshay-Arjun changed the title Change URI.unescape to URI.decode_www_form_component Fix unable to sniff and deface. Dec 26, 2022
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

Successfully merging this pull request may close these issues.

Error while defacing Unable to sniff post data. Undefined method `unescape' for URI:Module
1 participant