Skip to content

Commit

Permalink
v3.5.5
Browse files Browse the repository at this point in the history
bug fixes
  • Loading branch information
LIL-JABA committed Sep 3, 2022
1 parent ac91a5d commit 377f51c
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 13 deletions.
34 changes: 29 additions & 5 deletions src/codeparts/systems.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,16 +192,40 @@ def load_proxy(self):
return self.proxylist

def getproxy(self,proxlist):
if proxlist == None:
return None
if len(proxlist) <= 1:
return None
nextproxy=random.choice(proxlist)
try:
if proxlist == None:
return None
if len(proxlist) <= 1:
return None
nextproxy=random.choice(proxlist)
except:
nextproxy=None
return nextproxy

def center(self,var:str, space:int=None): # From Pycenter
if not space:
space = (os.get_terminal_size().columns - len(var.splitlines()[int(len(var.splitlines())/2)])) / 2
return "\n".join((' ' * int(space)) + var for var in var.splitlines())

def checkproxy(self):
session=requests.Session()
try:
with open(f"{self.parentpath}\\proxy.txt", "r") as f:
proxylist = f.readlines()
except FileNotFoundError:
input('cant find your proxy file. press enter to return')
for proxy in proxylist:
proxy=proxy.replace('\n','')
proxxy={
'http':f'http://{proxy}',
'https':f'http://{proxy}',
}
print(f'using: {proxxy}')
try:
resp=session.get('https://api.myip.com/',proxies=proxxy).text
except:
resp='bad response. delete this proxy'
print(f'response: {resp}\n')
input('press enter to return')

syss=system()
12 changes: 7 additions & 5 deletions src/codeparts/validsort.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ def customsort(self):

rp=str(input('enter how many RP should this account have ("1000" will search all accounts with RP amount 1000 or higher) >>>'))

skin=str(input('enter what skin should be in this accounts (for example, prime vandal) >>>'))

mail = inquirer.select(
message="unverified mail:",
choices=mails,
Expand Down Expand Up @@ -173,11 +175,11 @@ def customsort(self):
rpacc=1
if rpacc>=rpam or rp =='':
if f'unverifiedmail-> {mail}' in account:
#print(True)
with open(f'{self.parentpath}/output/sorted.txt','a',encoding='UTF-8') as f:
f.write(account+'###account###')
matches+=1
print(f'sorted {sorted}/{count} MATCH')
if skin in account:
with open(f'{self.parentpath}/output/sorted.txt','a',encoding='UTF-8') as f:
f.write(account+'###account###')
matches+=1
print(f'sorted {sorted}/{count} MATCH')
except Exception as e:
pass
print(f'sorted {sorted}/{count}')
Expand Down
8 changes: 6 additions & 2 deletions src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class program():
def __init__(self) -> None:
self.count=0
self.checked=0
self.version='3.5.4'
self.version='3.5.5'
self.riotlimitinarow=0
try:
self.lastver=requests.get('https://lil-jaba.github.io/valchecker/src/system/lastver.html').text.replace(' ','').replace('\n','')
Expand Down Expand Up @@ -59,6 +59,7 @@ def start(self):
'Start Checker',
'Edit Settings',
'Sort Valid',
'Test Proxy',
'Info/Help',
Separator(),
'Exit'
Expand All @@ -79,6 +80,8 @@ def start(self):
valid.customsort()
input('done. press ENTER to exit')
elif res==menu_choices[4]:
sys.checkproxy()
elif res==menu_choices[5]:
os.system('cls')
print(f'''
valchecker v{self.version} by liljaba1337
Expand All @@ -89,12 +92,13 @@ def start(self):
[1] - check valid/invalid/ban and save them to valid.txt in output folder
[2] - i think u understand
[3] - sorts all accounts from valid.txt which match your requirements to output\\sorted\\custom.txt
[4] - test your proxies
[~] - press ENTER to return
''')
input()
continue
elif res==menu_choices[6]:
elif res==menu_choices[7]:
os._exit(0)


Expand Down
2 changes: 1 addition & 1 deletion src/system/lastver.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.5.4
3.5.5

0 comments on commit 377f51c

Please sign in to comment.