Comments (4)
@DanielRuf , I think keeping it here makes more sense . also can you try switching the quotes i.e
'regex("(?i)server: apache/\d", all_headers)'
more details on how to escape and lots of other stuff can be found here https://github.com/Knetic/govaluate
from dsl.
Try \\d
from dsl.
My test results:
...\d
' = error...\\d'
= not triggered...[\\d]'
= not triggered...[0-9]'
= triggered
Would it make sense to move this issue to the main repo since nuclei 2.8.6 was released before the dsl project was split from there?
from dsl.
@tarunKoyalwar thanks, the proposed solution seems to work. Looks like I have to study a bit better how the escaping works in this project.
Not sure what I did wrong when I tried to switch the quote styles (single to double, double to single).
from dsl.
Related Issues (19)
- Fix zlib and other decompression package bombs
- Potential bug in ip alteration
- pls add UTF16 encoding (for powershell command)
- Add types/structs pack/unpack
- DSL function for flask_unsign
- Usage of HMAC.DIGEST() as in python
- Function to supports RSA encryption
- Support for `commons-collections5` in `generate_java_gadget` function HOT 1
- Adding helper to obtain public ip
- Add helper to format text ProperCase HOT 1
- Add Index helper
- Add inflate and deflate helpers
- Add jarm calculation helper
- Add caching layer for deterministic functions
- add `ErrParsingErr` to support hiding warnings downstream
- Migrate all helper function and dsl logic from nuclei to this repo
- Replace govaluate with same nuclei embedded scripting engine
- algorithm in generate_jwt helper should be a required parameter
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 dsl.