minor update to randomcase script, will now truly be random case

This commit is contained in:
ekultek 2017-10-10 18:16:49 -05:00
parent 9d97a6765a
commit f8614dc883
2 changed files with 5 additions and 2 deletions

View file

@ -22,7 +22,7 @@ except NameError:
# clone link
CLONE = "https://github.com/ekultek/zeus-scanner.git"
# current version <major.minor.commit.patch ID>
VERSION = "1.0.36"
VERSION = "1.0.36.1053"
# colors to output depending on the version
VERSION_TYPE_COLORS = {"dev": 33, "stable": 92, "other": 30}
# version string formatting

View file

@ -8,7 +8,10 @@ def tamper(payload, **kwargs):
for char in payload:
random_int = random.choice(nums)
if random_int == 1:
retval += char.upper()
if char.isupper():
retval += char.lower()
elif char.islower():
retval += char.upper()
else:
retval += char
return retval