In Progress

Fix and modify a python 2 script that listens for DNS queries and responses

Hi,

I have found a script online that i require to be modified.

The script can be found here:

[login to view URL]

The script listens for dns queries on a server and responds with the same IP address for all requests. Currently this is not working for me , as when i use the dig tool on linux the IP address i request does not get logged in the A record as it should.

dig @[login to view URL] [login to view URL]

; <<>> DiG 9.10.3-P4-Ubuntu <<>> @[login to view URL] [login to view URL]

; (1 server found)

;; global options: +cmd

;; Got answer:

;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 18416

;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; WARNING: Message has 16 extra bytes at end

;; OPT PSEUDOSECTION:

; EDNS: version: 0, flags:; udp: 4096

;; QUESTION SECTION:

;test.com. IN A

;; Query time: 16 msec

;; SERVER: 159.65.87.49#53([login to view URL])

;; WHEN: Sat Aug 04 17:22:44 BST 2018

;; MSG SIZE rcvd: 53

I require the following changes to the script:

1. Fix it so that the domain name is sent to the A record of the user that requested it from the server.

2. Add a raw_input so that when i run the script i can choose the IP address that is sent in the response each time.

3. Modify the script so that the DNS response can send all characters and special characters ( all numbers, all characters and !"£$%^&*()@:{}~?><

I will need to remotely test the script before payment, this can be done from your server.

This is for a university project and not used for any illegal purposes.

Thanks

Skills: DNS, Linux, Python, Software Architecture, Web Security

See more: script add dns host text file, script microsoft dns create host record, python csv script, python dns query, python dns module, responder smb relay, responder github, dnspython github, python dns lookup specific server, responder lgandx, responder.py windows, python, dns, python auction script, script subdomain dns, modify popup window script, script iis dns, add modify remove hphp script, modify sql table script, python scrape script

About the Employer:
( 1 review ) heywood, United Kingdom

Project ID: #17506310

Awarded to:

ahmadmohsen46

I'm a professional python developer, and I've done quite much projects in networks and security using python but I guess we need to discuss more about your project we can get it done today! hire me and let's start More

£18 GBP in 1 day
(0 Reviews)
0.0

2 freelancers are bidding on average £92 for this job

devops724

hi there I have 10 years experience in Python and PHP web development. I did lots of projects in web world, develop in most web technologies. 8 years developing Django sites and services. because i am new in freel More

£166 GBP in 1 day
(3 Reviews)
1.9