hackspeak 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/bin/hackspeak +27 -0
- data/lib/hackspeak.rb +5 -0
- data/lib/hackspeak/generator.rb +14 -0
- data/lib/hackspeak/templates.rb +169 -0
- metadata +48 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 28460a16999bdf57b302f766da25d6c860baf773
|
4
|
+
data.tar.gz: 5db4218613fb3eab70d4e3e8ffd53c7a3fde377e
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 13731387d0b7b9488264dd75b44ceada013ff2dc2a24d7b2f21c58120ab7e29045b95874e58d1a949baec9279edc2fba0fc2ca29257922d1ecb947412f342a71
|
7
|
+
data.tar.gz: 35486e04c69718d57ee4d2b74b74d90202f989c086d435a44c3cc172c306347f9c25e096bd8f1172cf72b3737a95602093be8d1de1d7262ce826de6c70037547
|
data/bin/hackspeak
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require 'hackspeak'
|
4
|
+
require 'optparse'
|
5
|
+
|
6
|
+
options = {}
|
7
|
+
OptionParser.new do |opts|
|
8
|
+
opts.on("-a", "--all", "all") do |a|
|
9
|
+
options[:all] = a
|
10
|
+
end
|
11
|
+
|
12
|
+
opts.on("-v", "--voice", "voice") do |v|
|
13
|
+
options[:voice] = v
|
14
|
+
end
|
15
|
+
end.parse!
|
16
|
+
|
17
|
+
if options[:all]
|
18
|
+
Hackspeak::Generator.generate_all.each do |line|
|
19
|
+
p line
|
20
|
+
end; nil
|
21
|
+
elsif options[:voice]
|
22
|
+
line = Hackspeak::Generator.generate
|
23
|
+
command = "say -i $'#{line}' -v karen"
|
24
|
+
system(command)
|
25
|
+
else
|
26
|
+
p Hackspeak::Generator.generate
|
27
|
+
end
|
data/lib/hackspeak.rb
ADDED
@@ -0,0 +1,169 @@
|
|
1
|
+
module Hackspeak
|
2
|
+
module Templates
|
3
|
+
NOUNS_A = [
|
4
|
+
"GUI Interface",
|
5
|
+
"GUI",
|
6
|
+
"IP",
|
7
|
+
"IP address",
|
8
|
+
"IRC",
|
9
|
+
"IPv6",
|
10
|
+
"IDE",
|
11
|
+
"environment",
|
12
|
+
"public firewall",
|
13
|
+
"packet",
|
14
|
+
"command line",
|
15
|
+
"layer four traceroute",
|
16
|
+
"framework",
|
17
|
+
"module",
|
18
|
+
"mainframe",
|
19
|
+
"bug",
|
20
|
+
"hard drive",
|
21
|
+
"ROM chip",
|
22
|
+
"virus",
|
23
|
+
"worm",
|
24
|
+
"subsystem",
|
25
|
+
"submodule",
|
26
|
+
"chip",
|
27
|
+
"chipset",
|
28
|
+
"firmware",
|
29
|
+
"software",
|
30
|
+
"motherboard",
|
31
|
+
"microcode",
|
32
|
+
"network",
|
33
|
+
"peripherals",
|
34
|
+
"terminal",
|
35
|
+
"batch processor",
|
36
|
+
"processor",
|
37
|
+
"encoding",
|
38
|
+
"file",
|
39
|
+
"backlog",
|
40
|
+
"shell",
|
41
|
+
"subshell",
|
42
|
+
"stack",
|
43
|
+
"algorithm",
|
44
|
+
"function",
|
45
|
+
"leak",
|
46
|
+
"server",
|
47
|
+
]
|
48
|
+
|
49
|
+
NOUNS_B = [
|
50
|
+
"UNIX",
|
51
|
+
"LINUX",
|
52
|
+
"IPv6",
|
53
|
+
"SQL",
|
54
|
+
"Microsoft Windows",
|
55
|
+
"IRC",
|
56
|
+
"Visual Basic",
|
57
|
+
"Internet Explorer 8",
|
58
|
+
"Apache",
|
59
|
+
"Ethernet",
|
60
|
+
"HTTP Protocol",
|
61
|
+
"FTP",
|
62
|
+
"CPU",
|
63
|
+
"BASIC",
|
64
|
+
"LISP",
|
65
|
+
"PSU",
|
66
|
+
"RAM",
|
67
|
+
"VGA",
|
68
|
+
"JSON",
|
69
|
+
"AJAX",
|
70
|
+
"DOM",
|
71
|
+
"GNU",
|
72
|
+
"DDOS",
|
73
|
+
"MVC",
|
74
|
+
"HTMI",
|
75
|
+
"COBOL",
|
76
|
+
"analog",
|
77
|
+
"digital",
|
78
|
+
"HTMI",
|
79
|
+
"binary",
|
80
|
+
"hexadecimal",
|
81
|
+
"beta",
|
82
|
+
"gamma",
|
83
|
+
"delta",
|
84
|
+
"service",
|
85
|
+
|
86
|
+
]
|
87
|
+
|
88
|
+
ADJECTIVES = [
|
89
|
+
"analog",
|
90
|
+
"digital",
|
91
|
+
"off-the-grid",
|
92
|
+
"HTMI",
|
93
|
+
"binary",
|
94
|
+
"hexadecimal",
|
95
|
+
"beta",
|
96
|
+
"gamma",
|
97
|
+
"delta",
|
98
|
+
"dynamic"
|
99
|
+
]
|
100
|
+
|
101
|
+
VERBS = [
|
102
|
+
"reroute",
|
103
|
+
"disconnect",
|
104
|
+
"reconnect",
|
105
|
+
"trace",
|
106
|
+
"track",
|
107
|
+
"traceroute",
|
108
|
+
"hack",
|
109
|
+
"breach",
|
110
|
+
"burn",
|
111
|
+
"encrypt",
|
112
|
+
"encode",
|
113
|
+
"code",
|
114
|
+
"port",
|
115
|
+
"relay",
|
116
|
+
"iterate",
|
117
|
+
"destroy",
|
118
|
+
"lisence",
|
119
|
+
"debug",
|
120
|
+
"ping",
|
121
|
+
"cache",
|
122
|
+
"execute",
|
123
|
+
"search",
|
124
|
+
"log",
|
125
|
+
"backlog",
|
126
|
+
"rollback",
|
127
|
+
"undo",
|
128
|
+
"target",
|
129
|
+
"buffer",
|
130
|
+
"parse",
|
131
|
+
"interpret",
|
132
|
+
"jack",
|
133
|
+
"program",
|
134
|
+
"compile",
|
135
|
+
"reboot",
|
136
|
+
"break",
|
137
|
+
"crash"
|
138
|
+
]
|
139
|
+
|
140
|
+
def self.noun_a; NOUNS_A.sample; end
|
141
|
+
def self.noun_b; NOUNS_B.sample; end
|
142
|
+
def self.verb; VERBS.sample; end
|
143
|
+
def self.adjective; ADJECTIVES.sample; end
|
144
|
+
|
145
|
+
def self.phrases
|
146
|
+
[
|
147
|
+
"You think you can just #{verb} this #{noun_a} using only a #{noun_b} #{noun_a}? You dont have what it takes to #{verb} it.",
|
148
|
+
|
149
|
+
"In all my years of experience, never have I seen someone #{verb} anyones #{noun_a} with #{noun_b}. Impressive.",
|
150
|
+
|
151
|
+
"Quick! We need to #{verb} the hackers #{noun_a} before he #{verb}s the #{noun_b} #{noun_a}!",
|
152
|
+
|
153
|
+
"If we dont #{verb} their #{noun_a}, well never be able to #{verb} the #{noun_a}...",
|
154
|
+
|
155
|
+
"Ive got two words for you: #{verb.capitalize} #{noun_a}.",
|
156
|
+
|
157
|
+
"Hurry, #{verb} the #{noun_a}. Shit. They got into our #{noun_a}. #{verb.capitalize} the #{noun_b} #{noun_a}, do it, now. Oh no.... Its over. Theyve managed to #{verb} our #{noun_b} #{noun_a}...",
|
158
|
+
|
159
|
+
"Ill #{verb} a #{noun_a} using #{noun_b} to #{verb} the hackers #{noun_b} #{noun_a}.",
|
160
|
+
|
161
|
+
"Any novice could tell the difference between #{verb}ing a #{noun_a}s #{noun_b} and a #{noun_b} #{noun_a}",
|
162
|
+
|
163
|
+
"God damn it. My brother, #{noun_a.capitalize}#{verb.capitalize} got caught by the #{noun_b} #{verb}rs. And to think... hes only #{rand(4..60)} years old. I heard those guys can #{verb} #{noun_b} #{noun_a} without #{noun_b}. Were gonna need to #{verb} a #{noun_a} if we ever hope to see his #{noun_a} again...",
|
164
|
+
|
165
|
+
"With the right combination of #{noun_a}s, we should be able to #{verb} the #{noun_a} even without #{noun_b}. Talk about #{adjective}!"
|
166
|
+
]
|
167
|
+
end
|
168
|
+
end
|
169
|
+
end
|
metadata
ADDED
@@ -0,0 +1,48 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: hackspeak
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Marshall Hattersley
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2010-04-28 00:00:00.000000000 Z
|
12
|
+
dependencies: []
|
13
|
+
description: generate technobabble phrases on the fly
|
14
|
+
email: mwhatters@gmail.com
|
15
|
+
executables:
|
16
|
+
- hackspeak
|
17
|
+
extensions: []
|
18
|
+
extra_rdoc_files: []
|
19
|
+
files:
|
20
|
+
- bin/hackspeak
|
21
|
+
- lib/hackspeak.rb
|
22
|
+
- lib/hackspeak/generator.rb
|
23
|
+
- lib/hackspeak/templates.rb
|
24
|
+
homepage:
|
25
|
+
licenses:
|
26
|
+
- MIT
|
27
|
+
metadata: {}
|
28
|
+
post_install_message:
|
29
|
+
rdoc_options: []
|
30
|
+
require_paths:
|
31
|
+
- lib
|
32
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
33
|
+
requirements:
|
34
|
+
- - ">="
|
35
|
+
- !ruby/object:Gem::Version
|
36
|
+
version: '0'
|
37
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
39
|
+
- - ">="
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: '0'
|
42
|
+
requirements: []
|
43
|
+
rubyforge_project:
|
44
|
+
rubygems_version: 2.6.8
|
45
|
+
signing_key:
|
46
|
+
specification_version: 4
|
47
|
+
summary: Hackspeak hackspeak generator
|
48
|
+
test_files: []
|