{"id":13827255,"url":"https://github.com/imgp3dev/drmitm","last_synced_at":"2025-07-09T03:31:34.508Z","repository":{"id":216003521,"uuid":"167660414","full_name":"Imgp3Dev/DrMITM","owner":"Imgp3Dev","description":"DrMITM is a program designed to globally log all traffic of a website.","archived":false,"fork":false,"pushed_at":"2019-02-10T02:21:57.000Z","size":31,"stargazers_count":30,"open_issues_count":0,"forks_count":11,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-08-04T09:06:33.080Z","etag":null,"topics":["ip","mitm","mitm-attacks","network","nim","nim-lang","pentesting","python","traffic"],"latest_commit_sha":null,"homepage":"","language":"Nim","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Imgp3Dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2019-01-26T07:04:55.000Z","updated_at":"2024-05-29T17:53:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"c2715946-8e5b-472c-a028-2047887f886a","html_url":"https://github.com/Imgp3Dev/DrMITM","commit_stats":null,"previous_names":["imgp3dev/drmitm"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Imgp3Dev%2FDrMITM","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Imgp3Dev%2FDrMITM/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Imgp3Dev%2FDrMITM/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Imgp3Dev%2FDrMITM/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Imgp3Dev","download_url":"https://codeload.github.com/Imgp3Dev/DrMITM/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225481381,"owners_count":17481172,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ip","mitm","mitm-attacks","network","nim","nim-lang","pentesting","python","traffic"],"created_at":"2024-08-04T09:01:52.797Z","updated_at":"2024-11-20T06:31:18.164Z","avatar_url":"https://github.com/Imgp3Dev.png","language":"Nim","funding_links":[],"categories":["\u003ca id=\"42f9e068b6511bcbb47d6b2b273097da\"\u003e\u003c/a\u003e未分类"],"sub_categories":["\u003ca id=\"3bd67ee9f322e2c85854991c85ed6da0\"\u003e\u003c/a\u003e投毒\u0026\u0026Poisoning"],"readme":"# D̳r̳M̳I̳T̳M̳\nDrMITM is a program designed to globally log all traffic.\n\n# Diagram:\n![programidea](https://user-images.githubusercontent.com/42507604/51783887-7a7c5600-2106-11e9-81a1-1d693e69500b.png)\n\n# H̳o̳w̳ i̳t̳ w̳o̳r̳k̳s̳\nDrMITM sends a request to website and returns the IP of the website just in case the server of the website is designed to rely on the website IP for requests, and the request that goes to the website also ends up being sent to the server which it will log the message that the website sends, it will then return the same message and send it directly to the server, where the server may see it as the website but it will also direct our request to the website once the program changes IP's. once it sends our request to the website, the program will then pause our traffic, and wait for incoming traffic, when a new user tries to login or whatever and the website sends a request to the server, DrMITM will receive it, and the way it gets the data back to us is by sending the same data to a file.\n\n# H̳o̳w̳ d̳o̳ i̳ g̳e̳t̳ s̳t̳a̳r̳t̳e̳d̳\n\nFor Nim version:\nInstall 19.0 Nim(using choosenim or git clone)\n  Git clone the repo\n  cd into the directory\nRun nim DrMITM.nim\n\n\nFor Python version:\nInstall Python\ngit clone the repo\ncd into the directory\nRun python DrMITM.py\n\n\n# ᴄᴏᴍᴍᴀɴᴅs\n\ne(live logging)\n\nb(traffic blocking)\n\nr(redirect users)\n\n# u̲p̲c̲o̲m̲i̲n̲g̲ f̲e̲a̲t̲u̲r̲e̲s̲\n\n--ᴘʀᴇᴠᴇɴᴛɪɴɢ ᴄʟɪᴇɴᴛ ᴛʀᴀғғɪᴄ ғʀᴏᴍ ʀᴇᴀᴄʜɪɴɢ ᴛʜᴇ sᴇʀᴠᴇʀ.--(ɴᴏᴡ ᴀᴠᴀɪʟᴀʙʟᴇ)\n\n--ʀᴇᴅɪʀᴇᴄᴛɪɴɢ ᴛʀᴀғғɪᴄ--(ɴᴏᴡ ᴀᴠᴀɪʟᴀʙʟᴇ)\n\n\n\n# ᴛʜᴇᴏʀᴇᴛɪᴄᴀʟ ᴄᴏɴ\n\n ᴛʜᴇʀᴇ ᴍᴀʏ ʙᴇ ᴀ ᴘᴏssɪʙɪʟɪᴛʏ ᴛʜᴀᴛ ᴅʀᴍɪᴛᴍ ᴡɪʟʟ ғᴀɪʟ ᴀᴛ sɴɪғғɪɴɢ ᴛʀᴀғғɪᴄ ᴏғ ᴡᴇʙsɪᴛᴇs ᴛʜᴀᴛ ᴄᴏᴍᴍᴜɴɪᴄᴀᴛᴇ ᴛʜʀᴏᴜɢʜ ᴍᴜʟᴛɪᴘʟᴇ sᴇʀᴠᴇʀs ʙᴇᴄᴀᴜsᴇ ᴏғ ᴄᴏɴғɪɢᴜʀᴀᴛɪᴏɴ ʀᴇᴀsᴏɴs ᴏʀ ᴘᴏssɪʙʟʏ ᴀ ᴄʜᴀɴɢᴇ ᴏғ ᴇɴᴄʀʏᴘᴛɪᴏɴ ᴏʀ ʀᴇǫᴜɪʀᴇᴍᴇɴᴛs ᴏғ ɴᴇᴇᴅɪɴɢ ᴛᴏ ᴛʀɪᴄᴋ ᴛʜᴇ sᴇʀᴠᴇʀ. ᴀɴᴅ ɪ sᴀʏ \"ᴛʜᴇʀᴇ ᴍᴀʏ\" ʙᴇᴄᴀᴜsᴇ ɪᴛ ʜᴀsɴ'ᴛ ʙᴇᴇɴ ᴛᴇsᴛᴇᴅ ʏᴇᴛ.\n \n # Issue Reporting\n \n If you have an issue please submit it with the following details given: \n \n*your issue*\n\n*Your Nim Or Python version*\n\n*Operating system*\n\n*The process of what you were doing before the issue occurred*\n\n\n# Q\u0026A:\n\nQ:How does live logging works?\n\nA:it just sends the logged data to a file and outputs it on screen.\n\nQ: How does the traffic block work?\nA: a unicode gets sent to the website from server and overflows the traffic towards incoming traffic.\n\nQ:How does the redirectio. feature works?\n\nA: it sends a fake error message + redirection status code from the server with a modified location.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimgp3dev%2Fdrmitm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimgp3dev%2Fdrmitm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimgp3dev%2Fdrmitm/lists"}