Comments (5)
I ran it once again (windows version 0.3) to see what I did previously, it seems it did only use the last entry as you said!
from dnschef.
This issue can be fixed by changing:
config = ConfigParser()
To:
config = ConfigParser(strict=False)
More info: https://docs.python.org/3.4/library/configparser.html
from dnschef.
This issue can be fixed by changing:
config = ConfigParser()
To:
config = ConfigParser(strict=False)
More info: https://docs.python.org/3.4/library/configparser.html
I too have this issue...but using strict=False
does not fix it. It merely allows the server to run. But when you query for the SRV with nslookup, only the last record is returned.
Reason
The nametodns dictionary
Line 525 in a395411
loads SRV records like this:
'SRV': {'_http._tcp.thesprawl.org': '1 5 5070 www.fake1.com'}
It's not possible to express multiple SRV records with same service name using above structure:
[SRV]
; FORMAT: priority weight port target
_http._tcp.thesprawl.org=0 5 5060 www.fake1.com
_http._tcp.thesprawl.org=1 5 5070 www.fake2.com
from dnschef.
Sorry I forgot to comment here, I confirm the above bad behaviour and that's why I am still using the 0.3 version.
from dnschef.
Sorry I forgot to comment here, I confirm the above bad behaviour and that's why I am still using the 0.3 version.
I believe you are referring to this commit.
Even with v 0.3, it only returns the last entry of the [SRV] section only
[SRV]
; FORMAT: priority weight port target
_http._tcp.thesprawl.org=0 5 5060 www.fake1.com
_http._tcp.thesprawl.org=1 5 5070 www.fake2.com
[root@ub18-01:~] nslookup -type=SRV _http._tcp.thesprawl.org
Server: 127.0.0.1
Address: 127.0.0.1#53
_http._tcp.thesprawl.org service = 1 5 5070 www.fake2.com.
from dnschef.
Related Issues (20)
- Failed to open log file for writing, HOT 7
- Unexpected Error:
- Two or more records per domain HOT 3
- "Could not proxy request: timed out" for 99% responses
- Proxying problem HOT 3
- Ability to turn off answers for ANY HOT 3
- TypeError with --truedomains HOT 1
- Can't run dnschef.py HOT 5
- Syntax Errors HOT 3
- dnslib.dns.DNSError: QTYPE: Invalid forward lookup: [65] HOT 1
- -q still give output for everything
- Question: filter or reject unwanted query HOT 1
- Does this tool support 0x20 encoding?
- Seeking to update DNSChef.exe from version 0.3 to version 0.4.6.2
- No permission HOT 1
- Error using ngrok to defeat hostname verification HOT 4
- Support of SRV records HOT 8
- Listen on UDP, proxy over TCP HOT 2
- [Errno 98] Address already in use
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 dnschef.