Comments (2)
Funny little bug indeed.
Taking a quick look, the issue is, I think, that this URL returns an infinite chunked 'audio/mpeg'.
This means that the read at https://github.com/CERN-CERT/WAD/blob/master/wad/detection.py#L97 never returns.
I guess we should set up a sort of limit there...
from wad.
Exactly, one of the solution could be using requests' iter_content and allowing the code to stop reading after a certain size threshold is reached.
Something like this
from wad.
Related Issues (16)
- Decode error HOT 2
- Add command to update rules HOT 2
- Python 3 HOT 3
- sre_constants.error HOT 4
- `pip install wad` does not put any executable on path HOT 1
- Supported Python versions? HOT 9
- encoding parameter of json.load has been removed in Python 3.9
- Issue with 0.4.2 HOT 1
- connection reset by peer HOT 7
- 'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte HOT 5
- Logging info HOT 2
- [FEATURE REQUEST] Extendable clues
- Fail to run properly under Windows HOT 1
- Declare and use loggers at module level
- Crash when ssl cert doesn't match hostname 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 wad.