You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in the function below you check if rand[0] equals skip and in that case you wish to retry the entire function. If you need that you have to do return fake_ip(), otherwise the function will simply continue with the bad value.
def fake_ip():
skip = '127'
rand = range(4)
for x in range(4):
rand[x] = randrange(0,256)
if rand[0] == skip:
fake_ip() #here you have to put the return
fkip = '%d.%d.%d.%d' % (rand[0],rand[1],rand[2],rand[3])
return fkip
The text was updated successfully, but these errors were encountered:
in the function below you check if rand[0] equals skip and in that case you wish to retry the entire function. If you need that you have to do return fake_ip(), otherwise the function will simply continue with the bad value.
The text was updated successfully, but these errors were encountered: