Copy Link
Add to Bookmark
Report
Phruwt Issue 03 012
==============================================================================
**************************The Art of ANSi Boming************************
==============================================================================
[written by: stowAway]
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+INTRO-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Is there some lame IBM user is your life that REALLY pisses you off? Like
you just want to shoot them right in the genitals? But you are not a violent
person (well, you don't SHOOT people), and you want a more intelligent way to
get even. A solution? Well, a virus would be a good idea. Except for
McAfee, FProt, and the other hundreds of virus scanners out there. What is
the solution? An ANSi bomb.
You all know what an ANSi graphic is, I assume. If you don't, it's time to
go pick up a copy of one of those "For Dummies" books. Although you probably
know these codes from the pictures you see on boards or in zines, they can do
FAR FAR more than you would expect. Of course, they only work on IBMs with
DEVICE=C:\DOS\ANSI.SYS in their CONFIG.SYS, but nearly all IBMs do.
I bet you knew that every key you can type has an ANSi value. Well, I bet
you didn't know that you can use a certain sequence of characters to redefine
what any key you type does. Confused? Don't worry, I nearly confused myself
on that last one. For example, you could use and ANSi code to redefine your
victum's F3 key to type "PHRuWT Rules!". The code for this would be:
[0;61;"PHRuWT Rules!"p
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+BASICS-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
There is a chart at the end of this phile listing all the ANSi codes, but
read the whole thing before going to it.
If you are using the type command on an IBM, you did not see what was just
done. Hit the F3 key and see what happens... Now of course, this is very
simple and it doesn't do anything great. But now let's break it down into
it's components so that you can learn how to write your own ANSi bombs.
Every ANSi bomb/code must begin with the escape sequence. To be honest, I
forgot how to type it. All I know is that this is it:
[
Like I said, if you are using the IBM TYPE command, you probably didn't see
that. Use the edit command to view it. I will use ESC in place of it
because we will be getting into more destructable boms soon. Anyways an ANSi
bomb ALWAYS HAS to begin with this. And it ALWAYS HAS to end with p. What is
inside those two requirements is up to you.
Every code must follow one of the following three patterns:
ESC[#;#p Ex. ESC[97;65p would redefine the a key to
A
ESC[#;"string"p Ex. ESC[0;59;"Hi"p would redefine the F1 key to Hi
ESC["letter";string Ex. ESC["a";"Hi!"p would redefine the a key to Hi!
By #, I mean the ANSi code for the key you wish to redefine or use as a
replacement.
By string I mean a string of either characters (must be in quotation marks),
or ANSi codes (must be separated by ;). By letter, I mean the ONE letter you
wish to define (must be in quotation marks). Unfortunately you cannot define
more than one letter. If you wanted to change a whole string, you could
redefine the individual keys.
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-DETAILS-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
Now that you hopefully understand how they work, here is some more detail.
You see the functionality of these little buggers, and I know what you are
thinking. But it takes knowledge to be able to construct HIGHLY useful ANSi
bombs. As you can see, you could redefine any key you want to type FORMAT C:\
/u enter Y enter(for those that don't know, that format's an IBM users hard
drive without asking them if they are sure, and it leaves no undelete data.
All is lost. Now none of us here at PHRuWT condone the harmful damage of
other people's systems, but sometimes it is neccessary. Because I don't see
the point in this (unless you REALLY hate someone), I am not going to give
you the exact bomb. But you would be dumber than Gump to just have FORMAT C:\
/y /u in your bom in plain text for your victim to see when editing it. You
should ALWAYS use the ANSi numerical codes when doing anything to someone
else. I will, however, tell you what commands you would use in formatting
someone's hard drive.
Redefine the enter key as two enters so that whatever they typed was entered,
and an extra enter key to be sure you get a blank line. Now, some prefer the
method of redefining the y key as n and the n key as y, but I personnaly
think it is more fun for the victum to just see shit fly by, and all of a
sudden, FORMATING DRIVE C: 1 percent complete. Anyways, after the two
enters, this would by entered: FORMAT C: /u This, like I said, formats dive
c: with NO undelete data. The drive CANNOT be recovered without paying a
professional data recovery company. Then enter so that they victum cannot
just delete it and nothing happens. Now it says this:
"WARNING! ABOUT TO FORMAT NONREMOVABLE"
"DRIVE C:! ALL DATA WILL BE LOST!"
"Do you wish to proceed? (Y/N)"
Well of course they could just hit N, and that's that. So after you enter
the format command and enter, you include the Y key with another enter key so
that they have no chance to stop it.
Now I know I just took you step-by-step through a very simple process, but
the idea was to tech ANSi boming, not teach how to format someone's computer.
April Fool's is but a few days away as I write this, and I have written
about 50k in ANSi bombs that I will unleash. Nothing harmful, just hella
annoying.
This next code is VERY useful when boming.
ESC [13;13;13;"copy bom.ans c:\";13;"copy con
c:\autoexec.bat";13;"type bom.ans";13;0;
13;"cls";13p
What this does it redefines the return key as the following. It presses
return twice to get you a nice prompt. Then it copies your bomb into the C:\
root level. Then it changes the AUTOEXEC.BAT so that your bom is run
everytime at startup. Nice feature if you are using the bomb to have a BBS
user password file copied somewhere you can retrieve it from. Then it types
your bomb, activating it. The last thing it does it cls and enter to clear
the screen.
-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+CONCLUSION-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
Well, that's it. I hope I have effectivle taught you how to write good ANSi
bombs. But this kind of thing has to be done by oneself before you fully
understand it. You can write to me if you need any help. I am in the
process of changing internet providers, so I don't have a permanent address
until a week from now. I will post it in alt.hackintosh and in the next
issue. I just dipped into ANSi bombing in this article. The uses for it are
unlimited. Use it to move files, copy files, delete files, change files,
whatever. Below is a last off all the ANSi keys and what their numerical
equivalent is.
Keep Safe
stowAway
(good ASCii needed badly!!!)
==============================Ansi Keyboard
Codes=============================
By With With With By
With With With
Key Itself Shift Ctrl Alt Key Itself
Shift Ctrl Alt
----------------------------------------------------------------------
A 97 65 1 0;30 F1 0;59
0;84 0;94 0;104
B 98 66 2 0;48 F2 0;60
0;85 0;95 0;105
C 99 67 3 0;46 F3 0;61
0;86 0;96 0;106
D 100 68 4 0;32 F4 0;62
0;87 0;97 0;107
E 101 69 5 0;18 F5 0;63
0;88 0;98 0;108
F 102 70 6 0;33 F6 0;64
0;89 0;99 0;109
G 103 71 7 0;34 F7 0;65
0;90 0;100 0;110
H 104 72 8 0;35 F8 0;66
0;91 0;101 0;111
I 105 73 9 0;23 F9 0;67
0;92 0;102 0;112
J 106 74 10 0;36 F10 0;68 0;93
0;103 0;113
K 107 75 11 0;37 F11 0;133 0;135
0;137 0;139
L 108 76 12 0;38 F12 0;134 0;136
0;138 0;140
M 109 77 13 0;50 Home 0;71 55
0;119 --
N 110 78 14 0;49 UpArw 0;72 56
0;141 --
O 111 79 15 0;24 PgUp 0;73 57
0;132 --
P 112 80 16 0;25 LfArw 0;75 52
0;115 --
Q 113 81 17 0;16 RtArw 0;77 54
0;116 --
R 114 82 18 0;19 End 0;79 49
0;117 --
S 115 83 19 0;31 DnArw 0;80 50
0;145 --
T 116 84 20 0;20 PgDn 0;81 51
0;118 --
U 117 85 21 0;22 Ins 0;82 48
0;146 --
V 118 86 22 0;47 Del 0;83 46
0;147 --
W 119 87 23 0;17 PrntScr -- --
0;114 --
X 120 88 24 0;45 Tab 9 0;15
0;148 0;165
Y 121 89 25 0;21 Null 0;3 --
-- --
Z 122 90 26 0;44 BckSp 8 8
127 --
Enter 13
13 10 0;28
1 49 33 -- 0;120 Esc 27 27
27 0;1
2 50 64 -- 0;121 Space 32 32
32 32
3 51 35 -- 0;122
4 52 36 -- 0;123
5 53 37 -- 0;124
6 54 94 -- 0;125
7 55 38 -- 0;126
8 56 42 -- 0;127
9 57 40 -- 0;128
0 58 41 -- 0;129
These are the scan codes on a few
enhanced keyboards for the grey keys
---------------------------------------
Home 224;71 224;71 224;119 224;151
- 45 95 31 0;130
UpArw 224;72 224;72 224;141 224;152
= 61 43 -- 0;131
PgUp 224;73 224;73 224;132 224;153
[ 91 123 27 0;26
LfArw 224;75 224;75 224;115 224;155
] 93 125 29 0;27
RtArw 224;77 224;77 224;116 224;157
\ 92 124 28 0;43
End 224;79 224;79 224;117 224;159
; 59 58 -- 0;39
DnArw 224;80 224;80 224;145 224;160
' 39 34 -- 0;40
PgDn 224;81 224;81 224;118 224;161
, 44 60 -- 0;51
Ins 224;82 224;82 224;146 224;162
. 46 62 -- 0;52
Del 224;83 224;83 224;147 224;163
/ 47 63 -- 0;53
` 96 126 -- 0;41