radboy 0.0.840__py3-none-any.whl → 0.0.841__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of radboy might be problematic. Click here for more details.
- radboy/DB/Prompt.py +42 -0
- radboy/DB/__pycache__/Prompt.cpython-313.pyc +0 -0
- radboy/__init__.py +1 -1
- radboy/__pycache__/__init__.cpython-313.pyc +0 -0
- {radboy-0.0.840.dist-info → radboy-0.0.841.dist-info}/METADATA +1 -1
- {radboy-0.0.840.dist-info → radboy-0.0.841.dist-info}/RECORD +8 -8
- {radboy-0.0.840.dist-info → radboy-0.0.841.dist-info}/WHEEL +0 -0
- {radboy-0.0.840.dist-info → radboy-0.0.841.dist-info}/top_level.txt +0 -0
radboy/DB/Prompt.py
CHANGED
|
@@ -250,6 +250,44 @@ class Obfuscate:
|
|
|
250
250
|
out.write(self.b64d)
|
|
251
251
|
print("Finalized:",self.b64d)
|
|
252
252
|
print("Saved to:",self.FILE)
|
|
253
|
+
return self.returnMsg(self.b64d)
|
|
254
|
+
|
|
255
|
+
def readMsgFile(self):
|
|
256
|
+
try:
|
|
257
|
+
self.FILE=db.detectGetOrSet("OBFUSCATED MSG FILE",value="MSG.txt",setValue=False,literal=True)
|
|
258
|
+
with open(self.FILE,"rb") as fio:
|
|
259
|
+
ttl=0
|
|
260
|
+
for num,line in enumerate(fio.readlines()):
|
|
261
|
+
ttl=num
|
|
262
|
+
fio.seek(0)
|
|
263
|
+
counter=0
|
|
264
|
+
while True:
|
|
265
|
+
|
|
266
|
+
x=fio.readline()
|
|
267
|
+
if not x:
|
|
268
|
+
return
|
|
269
|
+
try:
|
|
270
|
+
print(std_colorize(x.decode("utf-8"),counter,ttl))
|
|
271
|
+
except Exception as ee:
|
|
272
|
+
print(x,ee)
|
|
273
|
+
counter+=1
|
|
274
|
+
except Exception as e:
|
|
275
|
+
print(e)
|
|
276
|
+
|
|
277
|
+
|
|
278
|
+
def returnMsg(self,data):
|
|
279
|
+
try:
|
|
280
|
+
d=Control(func=FormBuilderMkText,ptext=f"Return '{str(data)}'",helpText="Hit Enter to save. return the data to the terminal for things like text2file",data="boolean")
|
|
281
|
+
if d in ['NaN',None,False]:
|
|
282
|
+
return
|
|
283
|
+
elif d in ['d',]:
|
|
284
|
+
self.FILE=db.detectGetOrSet("OBFUSCATED MSG FILE",value="MSG.txt",setValue=False,literal=True)
|
|
285
|
+
with open(self.FILE,"w") as out:
|
|
286
|
+
out.write(data)
|
|
287
|
+
else:
|
|
288
|
+
return str(data)
|
|
289
|
+
except Exception as e:
|
|
290
|
+
print(e)
|
|
253
291
|
|
|
254
292
|
def decrypt(self):
|
|
255
293
|
try:
|
|
@@ -264,6 +302,7 @@ class Obfuscate:
|
|
|
264
302
|
cipher = AES.new(self.password,AES.MODE_ECB)
|
|
265
303
|
self.decoded = unpad(cipher.decrypt(base64.b64decode(self.encoded)),16).decode("utf-8")
|
|
266
304
|
print(f"'{self.decoded}'")
|
|
305
|
+
return self.returnMsg(self.decoded)
|
|
267
306
|
except Exception as e:
|
|
268
307
|
print(e)
|
|
269
308
|
|
|
@@ -284,6 +323,7 @@ class Obfuscate:
|
|
|
284
323
|
helpText=f'''
|
|
285
324
|
e,encrypt - make msg on INPUT and store in {self.FILE}
|
|
286
325
|
de,decrypt - decrypt msg from {self.FILE}
|
|
326
|
+
rf,readfile - read data/msg from {self.FILE} and print to screen
|
|
287
327
|
'''
|
|
288
328
|
doWhat=Prompt.__init2__(None,func=FormBuilderMkText,ptext="Obfuscate Menu",helpText=helpText,data="str")
|
|
289
329
|
if doWhat in [None,]:
|
|
@@ -294,6 +334,8 @@ de,decrypt - decrypt msg from {self.FILE}
|
|
|
294
334
|
self.encrypt()
|
|
295
335
|
elif doWhat.lower() in ['de','decrypt']:
|
|
296
336
|
self.decrypt()
|
|
337
|
+
elif doWhat.lower() in ['rf','readfile']:
|
|
338
|
+
self.readMsgFile()
|
|
297
339
|
else:
|
|
298
340
|
print(helpText)
|
|
299
341
|
|
|
Binary file
|
radboy/__init__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
VERSION='0.0.
|
|
1
|
+
VERSION='0.0.841'
|
|
Binary file
|
|
@@ -5,7 +5,7 @@ radboy/Holidays.txt,sha256=y-JZPihh5iaWKxMIHNXD39yVuVmf1vMs4FdNDcg0f1Y,3114
|
|
|
5
5
|
radboy/InventoryGlossary.txt,sha256=018-Yqca6DFb10jPdkUY-5qhkRlQN1k3rxoTaERQ-LA,91008
|
|
6
6
|
radboy/RecordMyCodes.py,sha256=h30zoTqt-XLt_afDPlxMxBiKKwmKi3N-yAuldNCqXUo,41476
|
|
7
7
|
radboy/Run.py,sha256=JUoCTHnzQBv7n8PB2_i93ANdAC_iW__RkAge8esCnk4,76
|
|
8
|
-
radboy/__init__.py,sha256=
|
|
8
|
+
radboy/__init__.py,sha256=E5lc6K6oNRjHE5mP2q2wAlaRcZLD12yhNo-tUppi0Iw,17
|
|
9
9
|
radboy/api_key,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
10
10
|
radboy/case-export-2024-05-14-13-10-00.672971.xlsx,sha256=Wd592d_VLFmfUI9KKKSVjNwjV91euc1T7ATyvwvUhlg,5431
|
|
11
11
|
radboy/case-export-2024-05-14-13-13-22.540614.xlsx,sha256=OnGrhmScHfGp_mVaWW-LNMsqrQgyZDpiU3wV-2s3U5Q,5556
|
|
@@ -89,7 +89,7 @@ radboy/DB/OrderedAndRxd.py,sha256=v_vrTOiTDhKqT5KErK6MOG_u4Nt7ug2MoLTHvAnm88M,19
|
|
|
89
89
|
radboy/DB/PayDay.py,sha256=H2kPGvBCDkMOz7lbxQhYtUt_oAInpxi37Q6MFrah98I,8710
|
|
90
90
|
radboy/DB/PayModels.py,sha256=hjwWxP7PL33hmfzQl5YTf0HqzaMxXJxFknPdxFJXJc8,3499
|
|
91
91
|
radboy/DB/PrintLogging.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
92
|
-
radboy/DB/Prompt.py,sha256
|
|
92
|
+
radboy/DB/Prompt.py,sha256=-NA3LlkDydC0iOhLwYLudL9UEmxpfN_cOzfVh9U3L64,197091
|
|
93
93
|
radboy/DB/RandomStringUtil.py,sha256=eZCpR907WStgfbk4Evcghjv9hOkUDXH-iMXIq0-kXq8,24386
|
|
94
94
|
radboy/DB/ResetTools.py,sha256=RbI-Ua7UlsN0S9qLqtEkTWvzyTZ6R-hHR3CW4NHlUPE,6660
|
|
95
95
|
radboy/DB/SMLabelImporter.py,sha256=eUoBDxVUUEKGL2g_PwkASM67ZB7FmXtSnn4bCagskhY,4013
|
|
@@ -120,7 +120,7 @@ radboy/DB/__pycache__/FormBuilder.cpython-312.pyc,sha256=p1o-5SMRL8OXP_XQ5liUpf-
|
|
|
120
120
|
radboy/DB/__pycache__/PrintLogging.cpython-312.pyc,sha256=pIAFqTi6OiQQORSc-oMH1zAbsdH7sY1TifxrN_QOvnU,148
|
|
121
121
|
radboy/DB/__pycache__/Prompt.cpython-311.pyc,sha256=P2uPRpeqfLFtxieZ0JHBG3X_HZzWUCsFSLb_fpRqky0,6407
|
|
122
122
|
radboy/DB/__pycache__/Prompt.cpython-312.pyc,sha256=6CcQ1gE2hcz3cKPjo4f6d7xNM2PTDnl8NzQG0Pme5BE,142886
|
|
123
|
-
radboy/DB/__pycache__/Prompt.cpython-313.pyc,sha256=
|
|
123
|
+
radboy/DB/__pycache__/Prompt.cpython-313.pyc,sha256=fCi1oU-oknJjy_GTjcU2Katjp2lKKHVa-83-JFeYRpA,279760
|
|
124
124
|
radboy/DB/__pycache__/RandomStringUtil.cpython-312.pyc,sha256=TrbEY89MuLmNlvoo5d8vOE6Dyshh5_EMlTZvk8MDVN4,48597
|
|
125
125
|
radboy/DB/__pycache__/RandomStringUtil.cpython-313.pyc,sha256=MCcgVwV2Y-9rAY2FVaJZCKcou3HDX70EZudoiCigT0o,49217
|
|
126
126
|
radboy/DB/__pycache__/ResetTools.cpython-311.pyc,sha256=4Vyc57iAAF0yRPjjglnVKovnTn8OoFIi6Zok3Wpj_YM,9292
|
|
@@ -414,7 +414,7 @@ radboy/__pycache__/Run.cpython-311.pyc,sha256=G_UEfMtkLRjR6ZpGA_BJzGenuaCcP469Y9
|
|
|
414
414
|
radboy/__pycache__/Run.cpython-312.pyc,sha256=v4xolc3mHyla991XhpYBUbBHYT0bnJ1gE-lkFoQ4GFA,241
|
|
415
415
|
radboy/__pycache__/__init__.cpython-311.pyc,sha256=R-DVbUioMOW-Fnaq7FpT5F1a5p0q3b_RW-HpLRArCAY,242
|
|
416
416
|
radboy/__pycache__/__init__.cpython-312.pyc,sha256=FsFzLXOlTK8_7ixoPZzakkR8Wibt-DvXLFh-oG2QlPw,164
|
|
417
|
-
radboy/__pycache__/__init__.cpython-313.pyc,sha256=
|
|
417
|
+
radboy/__pycache__/__init__.cpython-313.pyc,sha256=M5FNfPQXN4MkyemD6Zc79wu8Ntj3UHcJJ3WWtG5ZMpM,165
|
|
418
418
|
radboy/__pycache__/__init__.cpython-39.pyc,sha256=D48T6x6FUeKPfubo0sdS_ZUut3FmBvPMP7qT6rYBZzU,275
|
|
419
419
|
radboy/__pycache__/possibleCode.cpython-311.pyc,sha256=zFiHyzqD8gUnIWu4vtyMYIBposiRQqaRXfcT_fOl4rU,20882
|
|
420
420
|
radboy/__pycache__/possibleCode.cpython-312.pyc,sha256=tk_CO-AcsO3YZj5j6vEsw3g37UmEzWc5YgeWEoJEUg4,27922
|
|
@@ -442,7 +442,7 @@ radboy/tkGui/Images/__pycache__/__init__.cpython-311.pyc,sha256=tXBYpqbOlZ24B1BI
|
|
|
442
442
|
radboy/tkGui/__pycache__/BeginnersLuck.cpython-311.pyc,sha256=xLQOnV1wuqHGaub16mPX0dDMGU9ryCeLtNz5e517_GE,3004
|
|
443
443
|
radboy/tkGui/__pycache__/Review.cpython-311.pyc,sha256=wKq24iM6Xe2OampgZ7-8U6Nvmgs2y-qWOrGwtWhc75k,4047
|
|
444
444
|
radboy/tkGui/__pycache__/__init__.cpython-311.pyc,sha256=BX7DBn5qbvKTvlrKOP5gzTBPBTeTgSMjBW6EMl7N8e0,230
|
|
445
|
-
radboy-0.0.
|
|
446
|
-
radboy-0.0.
|
|
447
|
-
radboy-0.0.
|
|
448
|
-
radboy-0.0.
|
|
445
|
+
radboy-0.0.841.dist-info/METADATA,sha256=nzcFEh-kslYvcGbhb20qZqAvALl82wCJV0fpcJEWXHw,1920
|
|
446
|
+
radboy-0.0.841.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
447
|
+
radboy-0.0.841.dist-info/top_level.txt,sha256=mlM0RWMUxGo1YHnlLmYrHOgGdK4XNRpr7nMFD5lR56c,7
|
|
448
|
+
radboy-0.0.841.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|