-
-
Save Ehsan-Nezami/90a1300b503bf64bcda1a1e60ec891ec to your computer and use it in GitHub Desktop.
| ''' | |
| File name: Bypass Cloudflare To Get Real IP Address | |
| Author: Dariush Nasirpour (Net.Edit0r) | |
| Date created: 11/10/2018 | |
| Web: http://nasirpour.info | |
| Spicial Thanks to Ehsan Nezami | |
| ''' | |
| import socket | |
| socket.setdefaulttimeout(1) | |
| domain = raw_input("Enter your domain: ") | |
| try: | |
| print "Starting...\n\r" | |
| dns = ["ns1.", "ns2.", "ns3.", "ns4.", "primary.", "host1.", "host2.", "masterdns.", "slavedns.", "dns1.", "dns2.", | |
| "master.", "slave.", "node1.", "node2."] | |
| for dns_name in dns: | |
| remoteServerIP = dns_name + domain | |
| for port in [53, 80]: | |
| try: | |
| sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) | |
| IP = socket.gethostbyname(remoteServerIP) | |
| result = sock.connect_ex((remoteServerIP, port)) | |
| if result == 0: | |
| print "[+] Open\t{:<50}{:<3}\t{}".format(remoteServerIP, port, IP) | |
| sock.close() | |
| except socket.gaierror: | |
| print "[-] Hostname could not be resolved." | |
| pass | |
| except socket.error: | |
| print "[-] Couldn't connect to server" | |
| pass | |
| print "\n[*] Finished!" | |
| except KeyboardInterrupt: | |
| print "You pressed Ctrl+C" | |
| pass |
I converted this version from Python 2 to Python 3 but it didn't work. If there is a higher version, where can I find it?
This is outdated and may need an update. It might be better to use newer methods like ZoomEye or Shodan to find the real IP.
…
On Thu, Jan 30, 2025, 10:27 Abr1Server @.> wrote: @.* commented on this gist. ------------------------------ not work i test it after put domain got this message [-] Hostname could not be resolved. [-] Hostname could not be resolved. [-] Hostname could not be resolved. [-] Hostname could not be resolved. [-] Hostname could not be resolved. [-] Hostname could not be resolved. [-] Hostname could not be resolved. [-] Hostname could not be resolved. [-] Hostname could not be resolved. [-] Hostname could not be resolved. [-] Hostname could not be resolved. [-] Hostname could not be resolved. [-] Hostname could not be resolved. [-] Hostname could not be resolved. [-] Hostname could not be resolved. [-] Hostname could not be resolved. [-] Hostname could not be resolved. [-] Hostname could not be resolved. [-] Hostname could not be resolved. [-] Hostname could not be resolved. [-] Hostname could not be resolved. [-] Hostname could not be resolved. [-] Hostname could not be resolved. [-] Hostname could not be resolved. [-] Hostname could not be resolved. [-] Hostname could not be resolved. [-] Hostname could not be resolved. [-] Hostname could not be resolved. [-] Hostname could not be resolved. [-] Hostname could not be resolved. — Reply to this email directly, view it on GitHub https://gist.github.com/Ehsan-Nezami/90a1300b503bf64bcda1a1e60ec891ec#gistcomment-5414944 or unsubscribe https://github.com/notifications/unsubscribe-auth/ACR67EATFIYKI3ED44SWVTD2NHEMPBFKMF2HI4TJMJ2XIZLTSKBKK5TBNR2WLJDUOJ2WLJDOMFWWLO3UNBZGKYLEL5YGC4TUNFRWS4DBNZ2F6YLDORUXM2LUPGBKK5TBNR2WLJDHNFZXJJDOMFWWLK3UNBZGKYLEL52HS4DFVRZXKYTKMVRXIX3UPFYGLK2HNFZXIQ3PNVWWK3TUUZ2G64DJMNZZDAVEOR4XAZNEM5UXG5FFOZQWY5LFVA4TEOJVGA3TMN5HORZGSZ3HMVZKMY3SMVQXIZI . You are receiving this email because you authored the thread. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub .
I converted this version from Python 2 to Python 3 but it didn't work. If there is a higher version or another method, where can I find it?
Can you help me? I'm looking for a decoder that can decode ELF files that can be compiled with Go to decode the same Go code. Is there such a thing? i use gdb but But it can't do exactly that.
آقای نمازی اگه بنده رو راهنمایی کنی یک دنیا ممنونت میشم
not work i test it after put domain got this message [-] Hostname could not be resolved.
[-] Hostname could not be resolved.
[-] Hostname could not be resolved.
[-] Hostname could not be resolved.
[-] Hostname could not be resolved.
[-] Hostname could not be resolved.
[-] Hostname could not be resolved.
[-] Hostname could not be resolved.
[-] Hostname could not be resolved.
[-] Hostname could not be resolved.
[-] Hostname could not be resolved.
[-] Hostname could not be resolved.
[-] Hostname could not be resolved.
[-] Hostname could not be resolved.
[-] Hostname could not be resolved.
[-] Hostname could not be resolved.
[-] Hostname could not be resolved.
[-] Hostname could not be resolved.
[-] Hostname could not be resolved.
[-] Hostname could not be resolved.
[-] Hostname could not be resolved.
[-] Hostname could not be resolved.
[-] Hostname could not be resolved.
[-] Hostname could not be resolved.
[-] Hostname could not be resolved.
[-] Hostname could not be resolved.
[-] Hostname could not be resolved.
[-] Hostname could not be resolved.
[-] Hostname could not be resolved.
[-] Hostname could not be resolved.