Comments (8)
I pushed a possible fix. Try fix_75 branch. I need feedback to fixing this problem
git clone https://github.com/maurosoria/dirsearch -b fix_75
Thanks
from dirsearch.
Thank you for your response.
Applying that fix I get the following error:
Traceback (most recent call last):
File "dirsearch.py", line 38, in <module>
main = Program()
File "dirsearch.py", line 34, in __init__
self.controller = Controller(self.script_path, self.arguments, self.output)
File "dirsearch/lib/controller/Controller.py", line 135, in __init__
self.wait()
File "dirsearch/lib/controller/Controller.py", line 334, in wait
self.fuzzer.start()
File "dirsearch/lib/core/Fuzzer.py", line 80, in start
self.setupScanners()
File "dirsearch/lib/core/Fuzzer.py", line 56, in setupScanners
self.defaultScanner = Scanner(self.requester, self.testFailPath, "")
File "dirsearch/lib/core/Scanner.py", line 44, in __init__
self.setup()
File "dirsearch/lib/core/Scanner.py", line 61, in setup
self.dynamicParser = DynamicContentParser(self.requester, firstPath, firstResponse.body, secondResponse.body)
File "dirsearch/thirdparty/sqlmap/DynamicContentParser.py", line 16, in __init__
self.generateDynamicMarks(firstPage, secondPage)
File "dirsearch/thirdparty/sqlmap/DynamicContentParser.py", line 33, in generateDynamicMarks
self.cleanPage = self.removeDynamicContent(firstPage, self.dynamicMarks)
File "dirsearch/thirdparty/sqlmap/DynamicContentParser.py", line 86, in removeDynamicContent
encoding = chardet.detect(page)['encoding']
NameError: name 'chardet' is not defined
from dirsearch.
Run a
git pull
and try again
from dirsearch.
?????
from dirsearch.
I had same error.
On branch fix_75 there is:
File "dirsearch.py", line 38, in <module>
main = Program()
File "dirsearch.py", line 34, in __init__
self.controller = Controller(self.script_path, self.arguments, self.output)
File "/my_private_absolute_path/dirsearch/lib/controller/Controller.py", line 135, in __init__
self.wait()
File "/my_private_absolute_path/dirsearch/lib/controller/Controller.py", line 334, in wait
self.fuzzer.start()
File "/my_private_absolute_path/dirsearch/lib/core/Fuzzer.py", line 80, in start
self.setupScanners()
File "/my_private_absolute_path/dirsearch/lib/core/Fuzzer.py", line 57, in setupScanners
self.scanners['/'] = Scanner(self.requester, self.testFailPath, "/")
File "/my_private_absolute_path/dirsearch/lib/core/Scanner.py", line 44, in __init__
self.setup()
File "/my_private_absolute_path/dirsearch/lib/core/Scanner.py", line 61, in setup
self.dynamicParser = DynamicContentParser(self.requester, firstPath, firstResponse.body, secondResponse.body)
File "/my_private_absolute_path/dirsearch/thirdparty/sqlmap/DynamicContentParser.py", line 16, in __init__
self.generateDynamicMarks(firstPage, secondPage)
File "/my_private_absolute_path/dirsearch/thirdparty/sqlmap/DynamicContentParser.py", line 33, in generateDynamicMarks
self.cleanPage = self.removeDynamicContent(firstPage, self.dynamicMarks)
File "/my_private_absolute_path/dirsearch/thirdparty/sqlmap/DynamicContentParser.py", line 91, in removeDynamicContent
suffix = suffix.decode(encoding, errors='replace')
AttributeError: 'NoneType' object has no attribute 'decode'
from dirsearch.
I've just pushed a possible patch for that bug. I can't reproduce the error, so I'm not sure it will work...
from dirsearch.
It works. :)
from dirsearch.
Finally ! :)
from dirsearch.
Related Issues (20)
- There was a problem in the request to【对的请求中出现问题】 HOT 1
- TypeError: decode() argument 'encoding' must be str, not None HOT 2
- "reports" folder always created HOT 3
- 怎么递归遍历302目录/How to recursively traverse the 302 directory HOT 1
- User curl_cffi to to mimi browsers TLS fingerprint HOT 1
- Dirsearch not running? HOT 2
- Dirsearch is Not Running HOT 4
- Running issue HOT 2
- I have some URLs composed of IPv6 and ports. Does this tool support scanning them?
- Broken output folder name when scheme isn't provided HOT 3
- ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts HOT 2
- Disable Exceptions in output? HOT 2
- How to avoid to brute-force some directory recursively? HOT 2
- uniq results key HOT 2
- Cannot connect to xxxx HOT 2
- The test path is automatically added based on the domain name HOT 1
- Add backup file auto detect HOT 6
- Requirements. txt is missing the pkg_resources module HOT 2
- 无法运行
- LookupError(unknown encoding) raised when decoding response HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dirsearch.