Page 2 of 4
Re:Notepad coding!
Posted: Wed Dec 11, 2002 2:58 pm
by Joey
ok, thanks andrew. also, i found that making the virus will be useful! i may have to use it on my pc some day. i remember i couldnt format my friends pc because of an incorrect dos version. if i would have known this, i could have used this program.
(we HAD to format the pc. there was tons of bad sectors and windows wasnt running. i fixed it for him though!)
Re:Notepad coding!
Posted: Wed Dec 11, 2002 3:01 pm
by jrfritz
You can use scandisk.exe in the windows dir for DOS.
Scandiskw.exe is the windows version. YOU DIDn't have to reformat!
Re:Notepad coding!
Posted: Wed Dec 11, 2002 3:11 pm
by jelleghys
To Joey (when to use this DOS-commands...):
When I've been on a site where I can download tabbed songs... (you know, lyrics with the chords...), I always have to rename them: file.txt => file.wri so that they open in wordpad instead of notepad (I just do this for some reason which are not of any importance in this thread). Anyway, it's easy to do that in DOS:
Re:Notepad coding!
Posted: Wed Dec 11, 2002 3:16 pm
by jrfritz
How about if you create a program in C++ that loads a linked in registry addin that changes the current file type settings in the registry so the file opens in word pad even if it is a .txt? That will also cover files that are not in the current dir. That can be useful for a program where people like word pad.
Re:Notepad coding!
Posted: Wed Dec 11, 2002 5:08 pm
by ark
Just thought I'd mention that if you're going to write a progrem that calls someone a dumbass you might want to use the correct form of "you're". ::)
Re:Notepad coding!
Posted: Thu Dec 12, 2002 5:46 am
by Berserk
Hey,
That thing isn't a Virus, nor is it a program! First of all, viruses are written in assembler, get out of it, viruses aren't good, only in some cases
Now i will explain batch files (.bat):
Batch files are just a set of instructions for the DOS Console, they make using console compilers an programs much easier, automating the process. As for .exe files, well, there is no way you can edit them in notepad, if you open one it just shows some jibberish, you can not see the binary machine code in notepad, the reason for this is that notepad is made to read ASCII and Unicode Text Files, i believe it supports other formats aswell ;D
So Batch files are just an automated way to use the console
, But in some cases they can be VERY dangerous, they can delete system files.
Batch file have much more advanced features than directly using the console, they can operate as console programs in some cases. If you want me to give you a brief explanation of them, just ask
I have quite a bit of experiece with batch files ;D
As for directly editing executables (.exe), this is crazy; But i would like to see machine code, and hackman doesnt seem to do it, anybody know of any good disasemblers so i can see machine code of executables??
Ciao, i hope i helped you out, I don't have the time to go into depth about batch files, so this isn't very detailed ;D
Re:Notepad coding!
Posted: Thu Dec 12, 2002 6:06 am
by AGI1122
I edited your message, we don't support nor approve those kind of activities here. >:(
Re:Notepad coding!
Posted: Thu Dec 12, 2002 6:15 am
by Berserk
Sorry, i got a bit carried away ::)
Re:Notepad coding!
Posted: Thu Dec 12, 2002 10:06 am
by jrfritz
Berserk...
Here is machine code:
0001 = 1 0010 = 2 0011 = 3 0100 = 4 0101 = 5 0111 = 6 1000 = 7 1001 = 8 1010 = 9 1011 = 10 1100 = 11 1101 = 12 1111 = 13
And I calculated that myself. Errors?
Re:Notepad coding!
Posted: Thu Dec 12, 2002 11:39 am
by jelleghys
I thought it was like this:
8421
| | | |
0000 = 0
0001 = 1
0010 = 2
0011 = 3
0100 = 4
0101 = 5
0110 = 6 -------------- all below are different
0111 = 7
1000 = 8
1001 = 9
1010 = 10
1011 = 11
1100 = 12
1101 = 13
1110 = 14
1111 = 15
0001 0000 = 16
:
:
:
no?
EDIT: btw: machine code? isn't this just numbers in binary?
Re:Notepad coding!
Posted: Thu Dec 12, 2002 12:05 pm
by jrfritz
Opps...but it's not like that, though, it's like this:
0000 = 1 0001 = 2 0010 = 3 0011 = 4 0100 = 5 0101 = 6 0111 = 7 1000 = 8 1001 = 9 1010 = 10 1011 = 11 1100 = 12 1101 = 13 1111 = 14
Correct?
Re:Notepad coding!
Posted: Thu Dec 12, 2002 12:14 pm
by whyme_t
jrfritz(Tom) wrote:
Opps...but it's not like that, though, it's like this:
0000 = 1
0000 =1 ? Doesn't 0 = 0 and 1 = 1. Which is what Jelle said...
Re:Notepad coding!
Posted: Thu Dec 12, 2002 12:18 pm
by damonbrinkley
jelle has it right.....
Re:Notepad coding!
Posted: Thu Dec 12, 2002 12:35 pm
by jrfritz
Oh...well it's been a year since I looked at my book that had binary information.
Re:Notepad coding!
Posted: Thu Dec 12, 2002 1:48 pm
by Joey
tom i did do scandisk from DOS. there wear so many bad sectors. where you have to hit fix it, we kept having to do that. there were way over 300 bad sectors, and we finally got tired of it.