We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
class hexrand: ..................... def next (self): self.current = random.SystemRandom().randint(self.minimum,self.maximum)
lgth = len(hex(self.maximum).replace("0x","")) pl="%"+str(lgth)+"s" num = hex(self.current).replace("0x","") pl = pl % (num) payl =pl.replace(" ","0") return payl
should be:
def next (self): if self.__count==0: #add raise StopIteration self.current = random.SystemRandom().randint(self.minimum,self.maximum) lgth = len(hex(self.maximum).replace("0x","")) pl="%"+str(lgth)+"s" num = hex(self.current).replace("0x","") pl = pl % (num) payl =pl.replace(" ","0") self.__count+=1 #add return payl
The text was updated successfully, but these errors were encountered:
closing due to inactivity
Sorry, something went wrong.
No branches or pull requests
class hexrand:
.....................
def next (self):
self.current = random.SystemRandom().randint(self.minimum,self.maximum)
should be:
The text was updated successfully, but these errors were encountered: