Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

quickbms base64

Featured Replies

  • Author
  • Localization

chrrox, posted Tue Mar 10, 2020 8:15 am (54531)


how would i get quickbms to decode
"3B/Syp2P5gvIlf3bAxXj8pcBjnm4jS2aoXDtLE7nY94="
into
"\xDC\x1F\xD2\xCA\x9D\x8F\xE6\x0B\xC8\x95\xFD\xDB\x03\x15\xE3\xF2\x97\x01\x8E\x79\xB8\x8D\x2D\x9A\xA1\x70\xED\x2C\x4E\xE7\x63\xDE"
also is there a better way to do this operation?

TMP equals "109E6CC5199B3EA8223385618408649DAC033AB1"
and I want to split it into
109E6CC5
199B3EA8
22338561
Code:
string TMP p "%s" QUICKBMS_HEXHASH
string TMP - 16
set KEY0 TMP
set KEY1 TMP
set KEY2 TMP

string KEY0 > 16
string KEY1 > 8
string KEY1 < 8
string KEY2 < 16

print "%KEY0%"
print "%KEY1%"
print "%KEY2%"

set TMP string "$"
string TMP = KEY0
set TKEY0 long TMP

set TMP string "$"
string TMP = KEY1
set TKEY1 long TMP

set TMP string "$"
string TMP = KEY2
set TKEY2 long TMP

print "%TKEY0%"
print "%TKEY1%"
print "%TKEY2%"
  • Author
  • Localization

aluigi, posted Tue Mar 10, 2020 10:34 am (54533)


I have the impression that there are two different questsions there, anyway this script should answer both (???):
Code:
set VAR string "3B/Syp2P5gvIlf3bAxXj8pcBjnm4jS2aoXDtLE7nY94="
string VAR w VAR    # URL encoding (/)
string VAR U VAR    # base64
getvarchr KEY0 VAR 0 long
getvarchr KEY1 VAR 4 long
getvarchr KEY2 VAR 8 long
print "%KEY0|X%"
print "%KEY1|X%"
print "%KEY2|X%"
  • Author
  • Localization

chrrox, posted Wed Mar 11, 2020 9:45 am (54562)


Yes I had 2 questions lol.
The base64 command worked perfectly.
The 2nd part worked but was not what i was looking for.
I want to take a string and get the first 8 characters of it 3 times
and convert that into a number.
"109E6CC5199B3EA8223385618408649DAC033AB1"
becomes
0x109E6CC5
0x199B3EA8
0x22338561
  • Author
  • Localization

aluigi, posted Wed Mar 11, 2020 10:31 am (54563)


Code:
set VAR string "109E6CC5199B3EA8223385618408649DAC033AB1"
string VAR h VAR    # URL encoding (/)
endian big
getvarchr KEY0 VAR 0 long
getvarchr KEY1 VAR 4 long
getvarchr KEY2 VAR 8 long
print "%KEY0|X%"
print "%KEY1|X%"
print "%KEY2|X%"
  • Author
  • Localization

chrrox, posted Thu Mar 12, 2020 7:00 am (54579)


That worked great thanks :D
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.