I need some help with modifying a string in quickbms.
Say I have a string "thisismysuperkey" that is 0x7468697369736D7973757065726B6579 in hex
I want to increment it in my loop by 1 so it becomes "uhisismysuperkey" 0x7568697369736D7973757065726B6579 in hex
next round it becomes
0x7668697369736D7973757065726B6579 in hex, etc
Is this possible in Quickbms?
The Forum is up for sale: XeNTaX Forum looking for new owner
Quickbms String Help
-
chrrox
- Moderator
- Posts: 2602
- Joined: Sun May 18, 2008 3:01 pm
- Has thanked: 57 times
- Been thanked: 1411 times
Re: Quickbms String Help
Ok Here's a simple example
I attached a file to run the script on, it's just my 16 byte key "thisismysuperkey".
Code: Select all
GetBits KEY 128
#GetDString KEY 16
print "the variable KEY of the file has the value %KEY%"
print "the variable KEY of the file has the value %KEY|h%"
MATH KEY + 1 #this doesn't work
print "the variable KEY of the file has the value %KEY%"
print "the variable KEY of the file has the value %KEY|h%"
You do not have the required permissions to view the files attached to this post.
Re: Quickbms String Help
I made a little progress, a easy question.
How would I get a variable into a temporary_file?
Say I wanted to write the variable KEY in the example to a temporary_file.
How would I get a variable into a temporary_file?
Say I wanted to write the variable KEY in the example to a temporary_file.
- aluigi
- VVIP member

- Posts: 1916
- Joined: Thu Dec 08, 2005 12:26 pm
- Location: www.ZENHAX.com
- Has thanked: 4 times
- Been thanked: 661 times
- Contact:
Re: Quickbms String Help
Code: Select all
set NAME string thisismysuperkey
encryption rot "\x01"
string NAME E= NAME
encryption "" ""
print "%NAME%"Re: Quickbms String Help
Thanks for the help aluigi, I try that code out.
How would i get my variable into a temporary_file?
How would i get my variable into a temporary_file?
