leebaird / discover

Custom bash scripts used to automate various penetration testing tasks including recon, scanning, enumeration, and malicious payload creation using Metasploit. For use with Kali Linux.
MIT License
3.42k stars 825 forks source link

[Bug] parse-burp needs porting to py3 #177

Closed jasc22 closed 2 years ago

jasc22 commented 2 years ago

I've tried installing lxml 3.4.2 in the latest version of Kali but it does not work. I've tried various ways to install it and no luck either way. It worked really well on 2020.1 with no issues. Appreciate if you can provide any assistance regarding this. Thanks!

leebaird commented 2 years ago

I was just able to replicate your error. Will look into that. Thanks for reporting.

root@kali:/opt/discover/parsers# ./parse-burp.py Missing lxml library. Please install using PIP. https://pypi.python.org/pypi/lxml/3.4.2

root@kali:/opt/discover/parsers# pip3 install lxml
Requirement already satisfied: lxml in /usr/local/lib/python3.9/dist-packages (4.6.3)

root@kali:/opt/discover/parsers# ./parse-burp.py
Missing lxml library. Please install using PIP. https://pypi.python.org/pypi/lxml/3.4.2

L1ghtn1ng commented 2 years ago

The issue is due to this script and the other parsers needing to be ported to py3

L1ghtn1ng commented 2 years ago

@jasc22 I have pushed a change to master that should fix it, please let me know if it works correctly on parsing a burp file. I have not tested it as I do not have a burp file to test with at the moment, so would appreciate you letting me know if you get to it before me but least know it prints the usage of the script. Thanks for you help in getting this sorted :-)

jasc22 commented 2 years ago

Thanks for your quick response and code update. I tested it and get "[!] Error processing file." If you would like a Burp xml file please let me know and I can make that available.

L1ghtn1ng commented 2 years ago

Having a burp XML file would be very helpful thank you


From: jasc22 @.> Sent: Monday, October 11, 2021 5:24:49 PM To: leebaird/discover @.> Cc: J.Townsend @.>; Comment @.> Subject: Re: [leebaird/discover] [Bug] parse-burp needs porting to py3 (#177)

Thanks for your quick response and code update. I tested it and get "[!] Error processing file." If you would like a Burp xml file please let me know and I can make that available.

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/leebaird/discover/issues/177#issuecomment-940175064, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AA3V2QQE2SA642SGE5OC5I3UGMFVDANCNFSM5FVADUCQ.

jasc22 commented 2 years ago

Thanks, @L1ghtn1ng and @leebaird! Please find attached a test XML file. bsp_test.xml.zip

L1ghtn1ng commented 2 years ago

@jasc22 Thanks for that, I have rewrote the script from scratch and I have it working, just got 1 bug to fix then can push it after that

L1ghtn1ng commented 2 years ago

@jasc22 Sorry this is taking longer than expected as I have had to rewrite it again

jasc22 commented 2 years ago

No problem, @L1ghtn1ng. Appreciate your help and effort with this. Thanks!

mohdjawad157 commented 2 years ago

I've tried installing lxml 3.4.2 in the latest version of Kali but it does not work. I've tried various ways to install it and no luck either way. It worked really well on 2020.1 with no issues. Appreciate if you can provide any assistance regarding this.

Hello,

I have an issue with the Recon options. When I try to select the Domain or Person options by putting the number on the option section and hitting "Enter" it does nothing.

I've updated and installed as the instructions given but still does nothing. Please advice.

I'm running Kali Linux release 2021.3

a r u getting any issues regarding tus