• Welcome to Valhalla Legends Archive.
 

Need help with VB please

Started by TeEhEiMaN, May 04, 2004, 06:15 PM

Previous topic - Next topic

SNiFFeR

Quote from: Myndfyre on May 10, 2004, 10:57 AM
Are we talking about patching stealing a program?

Well he said it was his programs so I guess if the code fell into the wrong hands it'd be considered stealing. But if it was his own programs, then it's patching.

Grok

Quote from: Myndfyre on May 10, 2004, 10:57 AM
Quote from: SNiFFeR on May 09, 2004, 08:19 PM
Quote from: TeEhEiMaN on May 04, 2004, 06:15 PM
I was wondering, if somehow, say I make just a quick program and add a number like 10, and then compile it into a exe. And then be able to make another exe, to open the exe and like change the number 10 to 11, and then save it, and have the numbers changed in the exe.

vb6
Thanks

Are you talking about patching a program?

Are we talking about patching stealing a program?

Bleh @ being his judge and jury.

MyndFyre

Hey -- I didn't judge nor jury anything or anybody.  All I did was ask a question.  I didn't condemn him nor smite his ruins upon the mountainside.  :P
QuoteEvery generation of humans believed it had all the answers it needed, except for a few mysteries they assumed would be solved at any moment. And they all believed their ancestors were simplistic and deluded. What are the odds that you are the first generation of humans who will understand reality?

After 3 years, it's on the horizon.  The new JinxBot, and BN#, the managed Battle.net Client library.

Quote from: chyea on January 16, 2009, 05:05 PM
You've just located global warming.

Adron

Quote from: iago on May 10, 2004, 07:07 AM
Quote from: Adron on May 09, 2004, 06:53 PM
That value might happen to appear elsewhere in the program?

It's also slow (compared to remembering an address or something) and not terribly reliable (optimizations), and I'm sure we could find other problems.

True. You're not likely to be doing this frequently anyway because of the trouble of updating self, so speed shouldn't matter much. For optimizations, you have to make sure you don't use the value in any immediate calculation that might be optimized. But I doubt VB would optimize much anyway.

TeEhEiMaN

Maybe this will be easyer, i wanted to make a trojen, just to test my self and see if i could do it. and also fuck with my freinds =P, but this is where i get stumped. Im gonna need to make a ICQ notify, so How can i make a program taht could open the server.exe and chnage the icq number.

Like on a lot of trojens, the Edit server file, i want to do somehting like that.

Eric

#20
Quote from: TeEhEiMaN on May 11, 2004, 11:51 AM
Maybe this will be easyer, i wanted to make a trojen, just to test my self and see if i could do it. and also fuck with my freinds =P, but this is where i get stumped. Im gonna need to make a ICQ notify, so How can i make a program taht could open the server.exe and chnage the icq number.

Like on a lot of trojens, the Edit server file, i want to do somehting like that.
Trojan editors usally do something similar to what Adron said.  They make a variable like "123IP" or something for the IP field which could be easy to spot in hex and then open the server in the server editor, find that string and replace it with the IP inputted by the user.

Btw, ICQ pagers are ew.  I suggest finding some other notification method.

CrAzY

Here is the answer to the first question of this topic's answer.  

Every one, you are not being specific anough for whomever needs it.  I was the same way when I started out programming VB.

Create a new program making a label and a button.  Double click the button and between the blank space put...


'This will add a number to the previous one each click
Dim a As Integer
a = a + 1
Text1.text = a


If you dont change the name of your label that should work when you click the button.  
CrAzY

Adron

Quote from: CrAzY on May 12, 2004, 07:05 AM
Here is the answer to the first question of this topic's answer.  

Every one, you are not being specific anough for whomever needs it.  I was the same way when I started out programming VB.

Create a new program making a label and a button.  Double click the button and between the blank space put...


'This will add a number to the previous one each click
Dim a As Integer
a = a + 1
Text1.text = a


If you dont change the name of your label that should work when you click the button.  

Could you please elaborate on why you think this is the answer to the first question?

Atom

#23
Quote
Could you please elaborate on why you think this is the answer to the first question?

Yeah, what the heck that had to do with anything is beyond me. Anyways I will try to explain to you what these guys are talking about. The string that you are trying to make changeable in your exe you need to set to something that wont occur anywhere else in your program. i.e.

Dim ICQnum as String
ICQnum = "PUTDATNUMBAHEREBIATCH"


You then must compile the exe, search for your string in the actual file (most likely with a hex editor), then make a program which rewrites the contents of your exe replacing "PUTDATNUMBAHEREBIATCH" with an actual icq number.

Wow i havent visisted these forums in a long time, happy to put some good cs talk into dummy language.
I am back! aINC is dead, ThinkTank PRO is alive.
VB, JAVA, ASM, C, its all yummy to me.