unixtcpip commited on
Commit
6b17bdd
·
verified ·
1 Parent(s): 46dd16a

Normalize corpus to pure ASCII (transliterate non-ASCII, drop emoji/control bytes)

Browse files

Transliterates box-drawing/arrows/accents/Cyrillic/smart-punct to ASCII, removes emoji + variation selectors + raw control bytes. 91 source files cleaned, all.txt regenerated. Verified: 0 non-ASCII bytes remain across all 1031 content files. Keeps tokenizer vocab clean.

README.md CHANGED
@@ -28,6 +28,20 @@ This is the all files for training language models. `all.txt` is a single concat
28
  - **Excluded:** this `README.md`, `.gitattributes`, and internal Hugging Face cache/metadata artifacts (not corpus content)
29
  - **Usage:** point your tokenizer/trainer directly at `all.txt` for a single-stream security-text corpus
30
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
31
  ## Contents
32
 
33
  ### Phrack Magazine (`phrack/`)
 
28
  - **Excluded:** this `README.md`, `.gitattributes`, and internal Hugging Face cache/metadata artifacts (not corpus content)
29
  - **Usage:** point your tokenizer/trainer directly at `all.txt` for a single-stream security-text corpus
30
 
31
+ ## ASCII-only normalization
32
+
33
+ The entire corpus has been normalized to **pure 7-bit ASCII** so it does not pollute a tokenizer's vocabulary with stray Unicode. This applies to every source file and to `all.txt`.
34
+
35
+ - Non-ASCII characters were **transliterated** to readable ASCII equivalents, not deleted:
36
+ - Box-drawing / debugger line art (`─ │ ┐ ├ ╡ ▒ …` from GDB/`gef` output) → `- | + + + : …`
37
+ - Arrows (`→ ← ↑ ↓ ➤`) → `-> <- ^ v >`
38
+ - Accented Latin (`í ó ç é …`) → base letters (`i o c e …`)
39
+ - Cyrillic letters (in proper names) → Latin transliteration
40
+ - Smart quotes & dashes (`' ' " " – — …`) → `' ' " " - - ...`
41
+ - **Removed entirely:** emoji (e.g. `❤ 👉 👌 😩`), variation/zero-width selectors, BOM, and raw control bytes (`0x00`–`0x1F` except tab/newline/CR)
42
+ - Result: **0 non-ASCII or control characters remain** across all 1,031 content files — every byte is `0x20`–`0x7E` or `\t` `\n` `\r`, matching the pure-ASCII style of the original Phrack philes
43
+
44
+
45
  ## Contents
46
 
47
  ### Phrack Magazine (`phrack/`)
all.txt CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:53966916c306f05a5b7a3f904ad24d016f88b72bc091193a21b0170b600b0229
3
- size 57904797
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0771cd0267ed02d6f08befb7934917bdfb5a14bafda066a809c8b091a8c5325c
3
+ size 57894745
phineas/cayman.txt CHANGED
The diff for this file is too large to render. See raw diff
 
phrack/issue17/9.txt CHANGED
@@ -68,7 +68,7 @@ EVEN MORE REWARDING THAN GETTING HARDCOPY DOCUMENTS.
68
  *SIGNIFICANT & IMPORTANT INFORMATION IS MORE EASILY LOCATED IN DATA
69
  TRANSMISSIONS THAN IN MASSES OF FILES OR PHONE CALLS.
70
  *TRANSMITTED DATA IS PRESUMED TRUE, AND WHEN ALTERATION IS DISCOVERED,
71
- IT'S READILY BLAMED ON THE EQUIPMENT.
72
  *THE LAWS CONCERNING TAPS ON UNCLASSIFIED AND NON-FINANCIAL COMPUTER
73
  DATA ARE EITHER QUITE LACKING OR ABJECTLY STUPID.
74
 
 
68
  *SIGNIFICANT & IMPORTANT INFORMATION IS MORE EASILY LOCATED IN DATA
69
  TRANSMISSIONS THAN IN MASSES OF FILES OR PHONE CALLS.
70
  *TRANSMITTED DATA IS PRESUMED TRUE, AND WHEN ALTERATION IS DISCOVERED,
71
+ IT'S READILY BLAMED ON THE EQUIPMENT.
72
  *THE LAWS CONCERNING TAPS ON UNCLASSIFIED AND NON-FINANCIAL COMPUTER
73
  DATA ARE EITHER QUITE LACKING OR ABJECTLY STUPID.
74
 
phrack/issue18/4.txt CHANGED
@@ -187,7 +187,7 @@ IBM, CDC, Univac, Honeywell and ICL remote job entry terminals over
187
  synchronous communication lines. PRIME's RJE provides the same communications
188
  and peripheral support as the RJE terminals they emulate, appearing to the
189
  host processor to be those terminals. All PRIME RJE products provide three
190
- unique benefits:
191
 
192
  * PRIME RJE is designed to communicate with multiple
193
  remote sites simultaneously.
 
187
  synchronous communication lines. PRIME's RJE provides the same communications
188
  and peripheral support as the RJE terminals they emulate, appearing to the
189
  host processor to be those terminals. All PRIME RJE products provide three
190
+ unique benefits:
191
 
192
  * PRIME RJE is designed to communicate with multiple
193
  remote sites simultaneously.
phrack/issue20/6.txt CHANGED
@@ -554,7 +554,7 @@ quarter the way it is... We shall see...
554
 
555
 
556
  -Hatter
557
- 
558
 
559
 
560
  33/100: Say that again...?
 
554
 
555
 
556
  -Hatter
557
+
558
 
559
 
560
  33/100: Say that again...?
phrack/issue20/7.txt CHANGED
@@ -991,7 +991,7 @@ manner of sending) or is it just updates to the way it's wired up? McBlah
991
 
992
 
993
 
994
- 51/70: CCS
995
  Name: Mad Hatter 51
996
  Date: 6:02 pm Fri May 15, 1987
997
 
 
991
 
992
 
993
 
994
+ 51/70: CCS
995
  Name: Mad Hatter 51
996
  Date: 6:02 pm Fri May 15, 1987
997
 
phrack/issue22/4.txt CHANGED
@@ -5,15 +5,15 @@
5
  +++++++++++++++++++++++++++++++++++++++++++++++++
6
  | The LOD/H Presents |
7
  ++++++++++++++++ ++++++++++++++++
8
-  A Novice's Guide to Hacking- 1989 edition /
9
-  ========================================= /
10
-  by /
11
-  The Mentor /
12
-  Legion of Doom/Legion of Hackers /
13
-  /
14
-  December, 1988 /
15
-  Merry Christmas Everyone! /
16
- +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++/
17
 
18
 
19
  The author hereby grants permission to reproduce, redistribute, or include this
@@ -186,7 +186,7 @@ systems by typing 'C' for connect and then the Network User Address (NUA) of
186
  the system you want to go to.
187
 
188
  An NUA takes the form of 031103130002520
189
- ___/___/___/
190
  | | |
191
  | | |____ network address
192
  | |_________ area prefix
 
5
  +++++++++++++++++++++++++++++++++++++++++++++++++
6
  | The LOD/H Presents |
7
  ++++++++++++++++ ++++++++++++++++
8
+ A Novice's Guide to Hacking- 1989 edition /
9
+ ========================================= /
10
+ by /
11
+ The Mentor /
12
+ Legion of Doom/Legion of Hackers /
13
+ /
14
+ December, 1988 /
15
+ Merry Christmas Everyone! /
16
+ +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++/
17
 
18
 
19
  The author hereby grants permission to reproduce, redistribute, or include this
 
186
  the system you want to go to.
187
 
188
  An NUA takes the form of 031103130002520
189
+ ___/___/___/
190
  | | |
191
  | | |____ network address
192
  | |_________ area prefix
phrack/issue22/5.txt CHANGED
@@ -2,18 +2,18 @@
2
 
3
  Volume Two, Issue 22, File 5 of 12
4
 
5
- /|/|/|/|/|/|/|/|/|/|/|/|/|/|/|/|/|/|/|/|
6
- |/ |/
7
- /| An Indepth Guide In Hacking UNIX /|
8
- |/ and |/
9
- /| The Concept Of Basic Networking Utility /|
10
- |/ |/
11
- /| By Red Knight /|
12
- |/ |/
13
- /| Member of the /|
14
- |/ Phreakers/Hackers Underground Network |/
15
- /| /|
16
- |/|/|/|/|/|/|/|/|/|/|/|/|/|/|/|/|/|/|/|/
17
 
18
  Brief History On UNIX
19
  ~~~~~~~~~~~~~~~~~~~~~
 
2
 
3
  Volume Two, Issue 22, File 5 of 12
4
 
5
+ /|/|/|/|/|/|/|/|/|/|/|/|/|/|/|/|/|/|/|/|
6
+ |/ |/
7
+ /| An Indepth Guide In Hacking UNIX /|
8
+ |/ and |/
9
+ /| The Concept Of Basic Networking Utility /|
10
+ |/ |/
11
+ /| By Red Knight /|
12
+ |/ |/
13
+ /| Member of the /|
14
+ |/ Phreakers/Hackers Underground Network |/
15
+ /| /|
16
+ |/|/|/|/|/|/|/|/|/|/|/|/|/|/|/|/|/|/|/|/
17
 
18
  Brief History On UNIX
19
  ~~~~~~~~~~~~~~~~~~~~~
phrack/issue26/11.txt CHANGED
@@ -307,11 +307,11 @@ PWN Quicknotes
307
  was given all his computer equipment back as part of the plea bargain --
308
  minus any materials considered to be "ill gotten" gains.
309
  _______________________________________________________________________________
310
- ! ***
311
 
312
 
313
  1:30:22 p.m. ARE YOU STILL THERE ?
314
- ! ***
315
 
316
 
317
  1:35:22 p.m. RESPOND OR BE LOGGED OFF
@@ -895,11 +895,11 @@ PWN Quicknotes
895
  was given all his computer equipment back as part of the plea bargain --
896
  minus any materials considered to be "ill gotten" gains.
897
  _______________________________________________________________________________
898
- ! ***
899
 
900
 
901
  1:30:22 p.m. ARE YOU STILL THERE ?
902
- ! ***
903
 
904
 
905
  1:35:22 p.m. RESPOND OR BE LOGGED OFF
 
307
  was given all his computer equipment back as part of the plea bargain --
308
  minus any materials considered to be "ill gotten" gains.
309
  _______________________________________________________________________________
310
+ ! ***
311
 
312
 
313
  1:30:22 p.m. ARE YOU STILL THERE ?
314
+ ! ***
315
 
316
 
317
  1:35:22 p.m. RESPOND OR BE LOGGED OFF
 
895
  was given all his computer equipment back as part of the plea bargain --
896
  minus any materials considered to be "ill gotten" gains.
897
  _______________________________________________________________________________
898
+ ! ***
899
 
900
 
901
  1:30:22 p.m. ARE YOU STILL THERE ?
902
+ ! ***
903
 
904
 
905
  1:35:22 p.m. RESPOND OR BE LOGGED OFF
phrack/issue27/2.txt CHANGED
@@ -128,7 +128,7 @@ Function Type: N/A
128
 
129
  #CP : This command is used to execute a CP Command while in a virtual machine
130
  ~~~ command environment without first signaling attention to get to the CP
131
- command environment which means that when typing P <command> to perform a CP
132
  operation, CP directly receives the command whereas CP <command> merely queues
133
  the command from CP.
134
  Privilege Class: ANY
 
128
 
129
  #CP : This command is used to execute a CP Command while in a virtual machine
130
  ~~~ command environment without first signaling attention to get to the CP
131
+ command environment which means that when typing P <command> to perform a CP
132
  operation, CP directly receives the command whereas CP <command> merely queues
133
  the command from CP.
134
  Privilege Class: ANY
phrack/issue27/8.txt CHANGED
@@ -22,9 +22,9 @@ Have fun and stay out of trouble.
22
  -=-=-=-=-=-=-=-=-=-=-=-=-= Cut here -=-=-=-=-=-=-=-=-=-=-=-=-=
23
  ! /bin/sh
24
  #Mfakemail - A shell script to send fakemail.
25
- #M##M#Met up the path.
26
  PATH=/usr/ucb:/bin:$HOME/Bin
27
- #Marse the command line
28
  case $ in
29
  0)echo "USAGE: user@host [ from@somewhere ] [ mailer_host ]" >& 2
30
  exit 1
@@ -45,7 +45,7 @@ mailerhost=$3
45
  exit 1
46
  ;;
47
  esac
48
- #Mreate a header for sendmail
49
  cat <<E!O!F!> /tmp/cli$$
50
  helo $mailerhost
51
  mail from:$from<$from>
@@ -58,15 +58,15 @@ Status: RO
58
 
59
 
60
  E!O!F!
61
- #Mdit the mailer
62
  vi /tmp/cli$$
63
- #Mdd a ending for the mailer
64
  cat <<E!O!F!>> /tmp/cli$$
65
  .
66
  quit
67
  E!O!F!
68
- #Monnect to the remote host's sendmail daemon
69
  telnet $mailerhost smtp < /tmp/cli$$
70
- #Mlean up time
71
  /bin/rm -f /tmp/cli$$
72
  _______________________________________________________________________________
 
22
  -=-=-=-=-=-=-=-=-=-=-=-=-= Cut here -=-=-=-=-=-=-=-=-=-=-=-=-=
23
  ! /bin/sh
24
  #Mfakemail - A shell script to send fakemail.
25
+ #M##M#Met up the path.
26
  PATH=/usr/ucb:/bin:$HOME/Bin
27
+ #Marse the command line
28
  case $ in
29
  0)echo "USAGE: user@host [ from@somewhere ] [ mailer_host ]" >& 2
30
  exit 1
 
45
  exit 1
46
  ;;
47
  esac
48
+ #Mreate a header for sendmail
49
  cat <<E!O!F!> /tmp/cli$$
50
  helo $mailerhost
51
  mail from:$from<$from>
 
58
 
59
 
60
  E!O!F!
61
+ #Mdit the mailer
62
  vi /tmp/cli$$
63
+ #Mdd a ending for the mailer
64
  cat <<E!O!F!>> /tmp/cli$$
65
  .
66
  quit
67
  E!O!F!
68
+ #Monnect to the remote host's sendmail daemon
69
  telnet $mailerhost smtp < /tmp/cli$$
70
+ #Mlean up time
71
  /bin/rm -f /tmp/cli$$
72
  _______________________________________________________________________________
phrack/issue3/2.txt CHANGED
@@ -158,7 +158,7 @@ ICM>. Now, when designing ICM, they must have taken into account the abuse
158
  possible in plain ol' PBX's. So they put in something called Call Screening.
159
  This will enable the company to restrict calls to certain 's and prefixes.
160
  Calls to non-business 's or certain areas can be screened out <"No personal
161
- calls on my time, Johnson!">, with the exception of 1 specific that you want.
162
  There is a choice of having a codeless, screened PBX, or a PBX where
163
  accounts are assigned to each employee, and the 's they call get recorded to
164
  that account. There can be privileged accounts where a large volume of calls
@@ -166,7 +166,7 @@ would go relatively un-noticed. But I don't think that large-scale abuse of
166
  this system would be easy or practical. Calls are routed AUTOMATICALLY through
167
  the service where the rates are cheaper to the location dialed, which is pretty
168
  fucking cool. And, the PBX is accessible from the outside, using Direct Inward
169
- System Access, making it AB-useable.
170
  But what about if there is Equal Access in that area? It doesn't matter,
171
  the CBX will automatically access the service without you having to worry about
172
  it <hell, this is totally unnecessary for a hack/phreak, cause we ain't paying
 
158
  possible in plain ol' PBX's. So they put in something called Call Screening.
159
  This will enable the company to restrict calls to certain 's and prefixes.
160
  Calls to non-business 's or certain areas can be screened out <"No personal
161
+ calls on my time, Johnson!">, with the exception of 1 specific that you want.
162
  There is a choice of having a codeless, screened PBX, or a PBX where
163
  accounts are assigned to each employee, and the 's they call get recorded to
164
  that account. There can be privileged accounts where a large volume of calls
 
166
  this system would be easy or practical. Calls are routed AUTOMATICALLY through
167
  the service where the rates are cheaper to the location dialed, which is pretty
168
  fucking cool. And, the PBX is accessible from the outside, using Direct Inward
169
+ System Access, making it AB-useable.
170
  But what about if there is Equal Access in that area? It doesn't matter,
171
  the CBX will automatically access the service without you having to worry about
172
  it <hell, this is totally unnecessary for a hack/phreak, cause we ain't paying