mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-22 20:55:52 +12:00
add mod forum and stuff
This commit is contained in:
parent
86f4423bc8
commit
64e057524c
341 changed files with 45156 additions and 138 deletions
|
@ -41,5 +41,23 @@ def dictDl():
|
|||
continue
|
||||
print(word)
|
||||
dictFile.write(word+b"\r\n")
|
||||
|
||||
#dictDl()
|
||||
|
||||
def bannedDl():
|
||||
words = requests.get("https://raw.githubusercontent.com/dwyl/english-words/master/words.txt").content.replace(b'\r', b'').split(b'\n')
|
||||
banned = set()
|
||||
for word in words:
|
||||
print(b"word: "+word)
|
||||
req = requests.post("https://master.horseisle.com/web/newuser.php", data={"user":word.decode("UTF-8"),"pass1":"", "pass2":"", "sex":"FEMALE", "email":"", "country":"", "passreqq":"Select a question", "passreqa":"", "A":""})
|
||||
|
||||
if req.content.find(b'THIS IS A FAMILY GAME!!') != -1:
|
||||
print(b"banned word: "+word)
|
||||
banned.add(word)
|
||||
|
||||
dictFile = open("banned.dic", "wb")
|
||||
for bword in banned:
|
||||
if bword == '':
|
||||
continue
|
||||
dictFile.write(bword+b"\r\n")
|
||||
dictFile.close()
|
||||
|
||||
bannedDl()
|
Loading…
Add table
Add a link
Reference in a new issue