Skip to content

Instantly share code, notes, and snippets.

Mohammed Diaa mhmdiaa

Block or report user

Report or block mhmdiaa

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile

Keybase proof

I hereby claim:

  • I am mhmdiaa on github.
  • I am mhmdiaa ( on keybase.
  • I have a public key ASB7gQF1QTGIH2fnl6BL88-73BM1Kz-DFfx4acc7aWAYawo

To claim this, I am signing this object:

import sys
def to_octets(ip):
return [int(i) for i in ip.split('.')]
def dotless_decimal(ip):
octets = to_octets(ip)
result = octets[0] * 16777216 + octets[1] * \
import requests
import sys
import json
def waybackurls(host, with_subs):
if with_subs:
url = '*.%s/*&output=json&fl=original&collapse=urlkey' % host
url = '*&output=json&fl=original&collapse=urlkey' % host
import requests
import re
import sys
from multiprocessing.dummy import Pool
def robots(host):
r = requests.get(
?url=%s/robots.txt&output=json&fl=timestamp,original&filter=statuscode:200&collapse=digest' % host)
You can’t perform that action at this time.