hack-evm 0.1.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
hack_evm/__init__.py ADDED
@@ -0,0 +1,17 @@
1
+ """
2
+ hack-evm: The World's Most Advanced EVM Hacking Toolkit™ (Parody)
3
+
4
+ This package provides a satirical interface for attempting to hack
5
+ Electronic Voting Machines. Every operation fails in increasingly
6
+ ridiculous ways. This is 100% satire with no actual hacking capabilities.
7
+
8
+ ⚠️ DISCLAIMER: This is a parody. It cannot hack anything.
9
+ """
10
+
11
+ __version__ = "0.1.0"
12
+ __author__ = "Anonymous Hacker Collective (parody)"
13
+ __license__ = "MIT"
14
+
15
+ from hack_evm.core import explain, hack, quantum_mode
16
+
17
+ __all__ = ["hack", "quantum_mode", "explain"]
hack_evm/cli.py ADDED
@@ -0,0 +1,154 @@
1
+ """
2
+ Command-line interface for hack-evm.
3
+
4
+ Provides various commands for attempting to hack EVMs
5
+ through the terminal. All commands fail hilariously.
6
+ """
7
+
8
+ import click
9
+
10
+ from hack_evm.core import (
11
+ alien_mode,
12
+ bollywood_mode,
13
+ conspiracy,
14
+ explain,
15
+ hack,
16
+ quantum_mode,
17
+ time_machine,
18
+ )
19
+
20
+
21
+ @click.group()
22
+ @click.version_option(version="0.1.0", prog_name="hack-evm")
23
+ def main() -> None:
24
+ """
25
+ 🚀 hack-evm - The World's Most Advanced EVM Hacking Toolkit™
26
+
27
+ \b
28
+ ⚠️ THIS IS SATIRE. This tool cannot actually hack anything.
29
+ It's designed to fail in increasingly humorous ways.
30
+
31
+ \b
32
+ Commands:
33
+ hack Attempt to hack an EVM (will fail)
34
+ quantum Activate quantum hacking mode (will also fail)
35
+ explain Get an explanation for the failure
36
+ conspiracy Generate conspiracy theories
37
+ alien-mode Alien technology hacking
38
+ time-machine Time travel hacking attempt
39
+ bollywood-mode Dramatic Bollywood-style hack sequence
40
+ """
41
+ pass
42
+
43
+
44
+ @main.command()
45
+ @click.option(
46
+ "--level",
47
+ "-l",
48
+ type=click.Choice(["basic", "advanced", "expert", "god_mode"], case_sensitive=False),
49
+ default="basic",
50
+ help="Hacking sophistication level",
51
+ )
52
+ def hack_command(level: str) -> None:
53
+ """
54
+ Attempt to hack an EVM.
55
+
56
+ This command initiates a sophisticated hacking sequence
57
+ that will inevitably fail in a creative and amusing way.
58
+ """
59
+ click.echo("")
60
+ hack(level=level)
61
+ click.echo("")
62
+
63
+
64
+ @main.command()
65
+ def quantum() -> None:
66
+ """
67
+ Activate quantum hacking mode.
68
+
69
+ Leverages quantum mechanics to attempt EVM hacking.
70
+ Schrödinger's cat declines to participate.
71
+ """
72
+ click.echo("")
73
+ quantum_mode()
74
+ click.echo("")
75
+
76
+
77
+ @main.command()
78
+ def explain_command() -> None:
79
+ """
80
+ Explain why the last hack attempt failed.
81
+
82
+ Provides a detailed, pseudo-technical explanation
83
+ that is entirely made up.
84
+ """
85
+ click.echo("")
86
+ explain()
87
+ click.echo("")
88
+
89
+
90
+ @main.command()
91
+ @click.option(
92
+ "--level",
93
+ "-l",
94
+ type=int,
95
+ default=1,
96
+ help="Conspiracy intensity level (1-9000+)",
97
+ )
98
+ def conspiracy_command(level: int) -> None:
99
+ """
100
+ Generate conspiracy theories about EVMs.
101
+
102
+ The higher the level, the more ridiculous the theory.
103
+ It's over 9000!
104
+ """
105
+ if level < 1:
106
+ click.echo(click.style("Error: Conspiracy level must be ≥ 1", fg="red"))
107
+ return
108
+
109
+ click.echo("")
110
+ conspiracy(level=level)
111
+ click.echo("")
112
+
113
+
114
+ @main.command()
115
+ def alien_mode_command() -> None:
116
+ """
117
+ Activate alien technology for hacking.
118
+
119
+ Contacts extraterrestrial hackers who are
120
+ surprisingly unhelpful.
121
+ """
122
+ click.echo("")
123
+ alien_mode()
124
+ click.echo("")
125
+
126
+
127
+ @main.command()
128
+ def time_machine_command() -> None:
129
+ """
130
+ Use time travel to hack EVMs.
131
+
132
+ Travels through time to hack elections.
133
+ Usually creates paradoxes instead.
134
+ """
135
+ click.echo("")
136
+ time_machine()
137
+ click.echo("")
138
+
139
+
140
+ @main.command()
141
+ def bollywood_mode_command() -> None:
142
+ """
143
+ Activate Bollywood-style hacking sequence.
144
+
145
+ Complete with dramatic music, unnecessary slow motion,
146
+ and a surprise dance number.
147
+ """
148
+ click.echo("")
149
+ bollywood_mode()
150
+ click.echo("")
151
+
152
+
153
+ if __name__ == "__main__":
154
+ main()
hack_evm/core.py ADDED
@@ -0,0 +1,458 @@
1
+ """
2
+ Core hacking engine for hack-evm.
3
+
4
+ Contains all the sophisticated, quantum-enhanced, blockchain-powered,
5
+ AI-driven hacking algorithms that absolutely do not work.
6
+ """
7
+
8
+ import random
9
+ import time
10
+ from typing import Any, Literal
11
+
12
+ from rich.console import Console
13
+ from rich.panel import Panel
14
+ from rich.progress import Progress, SpinnerColumn, TextColumn
15
+
16
+ # Initialize rich console for beautiful terminal output
17
+ console = Console()
18
+
19
+ # Collection of sophisticated hacking steps that definitely work (not)
20
+ SOPHISTICATED_STEPS: list[str] = [
21
+ "Initializing quantum entanglement with EVM...",
22
+ "Connecting to secret satellite network...",
23
+ "Contacting anonymous hacker collective...",
24
+ "Downloading votes from cloud...",
25
+ "Establishing blockchain backdoor...",
26
+ "Activating neural network vote predictor...",
27
+ "Bypassing quantum encryption...",
28
+ "Synchronizing with time server for temporal attack...",
29
+ "Loading Bollywood cyber toolkit...",
30
+ "Consulting ancient hacking manuscripts...",
31
+ "Calculating reverse quantum blockchain...",
32
+ "Deploying AI-powered democracy extractor...",
33
+ "Establishing TCP/IP over carrier pigeon...",
34
+ "Decrypting votes with machine learning...",
35
+ "Running zero-day exploit (day -1)...",
36
+ "Activating stealth mode (invisible to democracy)...",
37
+ "Connecting to dark web vote market...",
38
+ "Synthesizing quantum key from memes...",
39
+ "Loading hacker matrix rain effect...",
40
+ "Defragmenting blockchain with cyber attacks...",
41
+ ]
42
+
43
+ # Collection of ridiculous failure reasons
44
+ FAILURE_REASONS: list[str] = [
45
+ "EVM is not connected to the internet.",
46
+ "Operation failed successfully.",
47
+ "The EVM was manufactured before the internet existed.",
48
+ "Battery low. EVM is sleeping.",
49
+ "The EVM has a strong password: 'password123'. Too strong.",
50
+ "Quantum decoherence: The EVM observed itself.",
51
+ "Democracy firewall detected your shenanigans.",
52
+ "The EVM is running on Windows 95. No known exploits.",
53
+ "Votes are encrypted with ROT13. Unbreakable.",
54
+ "Your hacking license has expired.",
55
+ "EVM requires CAPTCHA verification. Are you a robot?",
56
+ "The EVM is in airplane mode.",
57
+ "Network timeout: EVM is buffering democracy.",
58
+ "The constitution blocked your request.",
59
+ "EVM firmware updated. Now it's running Doom.",
60
+ "Bollywood cyber toolkit crashed. Too much drama.",
61
+ "Your quantum computer needs a software update.",
62
+ "The satellite fell out of orbit. Literally.",
63
+ "EVM is protected by a very angry looking squirrel.",
64
+ "Divide by zero error in democracy calculation.",
65
+ ]
66
+
67
+ # Easter egg modes
68
+ CONSPIRACY_THEORIES: list[str] = [
69
+ "The EVM is actually a toaster with buttons.",
70
+ "All votes are stored on a floppy disk in Area 51.",
71
+ "The real EVM was replaced by a lizard person in 2004.",
72
+ "Every EVM has a tiny parliament inside it.",
73
+ "Votes are counted by trained parrots in a secret bunker.",
74
+ "The 'close' button actually orders pizza.",
75
+ "EVM stands for 'Extraordinary Vending Machine'.",
76
+ "The voter-verified paper audit trail is just a receipt for Amazon.",
77
+ "All EVMs are connected to a Windows XP server in a cave.",
78
+ "The ballot button is actually a subscription to a newsletter.",
79
+ ]
80
+
81
+ ALIEN_TECHNOLOGY: list[str] = [
82
+ "👽 Activating alien technology...\n[*] Ancient aliens have confirmed: EVMs are too primitive for their tech.\n[*] Even the greys couldn't hack this.",
83
+ "🛸 Contacting mothership...\n[*] Aliens responded: 'We hack galaxies, not democracies.'\n[*] They suggested trying a different planet.",
84
+ "🌌 Scanning for extraterrestrial exploits...\n[*] Found one! But it only works on Martian voting machines.\n[*] Earth EVMs use a different standard.",
85
+ ]
86
+
87
+ TIME_MACHINE_ATTEMPTS: list[str] = [
88
+ "⏰ Activating temporal displacement...\n[*] Traveled to 2014 to hack EVM during elections.\n[*] Discovered time machine runs on VBScript. Crashed in 2015.",
89
+ "⌛ Spinning up flux capacitor...\n[*] Arrived in 1947. No EVMs yet. Found a typewriter instead.\n[*] Hacked the typewriter successfully though.",
90
+ "🕰️ Initiating chronological bypass...\n[*] Went back 5 minutes to hack before you started.\n[*] Created temporal paradox. Universe.exe has stopped working.",
91
+ ]
92
+
93
+ BOLLYWOOD_MODE: list[str] = [
94
+ "🎬 BOLLYWOOD HACK SEQUENCE INITIATED...\n[*] Dramatic background music playing...\n[*] Protagonist typing furiously on keyboard...\n[*] Six monitors showing meaningless green text...\n[*] Heroine enters: 'Ruko! EVM ko hack mat karo!' (Stop! Don't hack the EVM!)\n[*] It's too late. We've already fallen in love with the EVM.\n[*] Climactic twist: The EVM was the hero's long-lost twin all along!",
95
+ "🎵 Cue the background dancers...\n[*] 500 extras appear out of nowhere\n[*] They're all better hackers than you\n[*] But they're too busy dancing\n[*] Hack cancelled due to spontaneous dance number",
96
+ "🇮🇳 Loading desi jugaad...\n[*] Applied pressure cooker technique\n[*] EVM started making biryani\n[*] Hack failed, but dinner is served!",
97
+ ]
98
+
99
+
100
+ def _get_version() -> str:
101
+ """Get the package version safely."""
102
+ try:
103
+ from hack_evm import __version__
104
+
105
+ return __version__
106
+ except ImportError:
107
+ return "0.1.0"
108
+
109
+
110
+ def _animate_steps(steps: list[str], delay: float = 0.5) -> None:
111
+ """
112
+ Animate a list of steps with a typewriter effect.
113
+
114
+ Args:
115
+ steps: List of step messages to display
116
+ delay: Delay between steps in seconds
117
+ """
118
+ with Progress(
119
+ SpinnerColumn(),
120
+ TextColumn("[progress.description]{task.description}"),
121
+ console=console,
122
+ ) as progress:
123
+ task = progress.add_task("[cyan]Preparing hack...", total=len(steps))
124
+ for step in steps:
125
+ time.sleep(delay)
126
+ progress.update(task, description=f"[yellow][*] {step}")
127
+ progress.advance(task)
128
+
129
+
130
+ def _get_random_failure() -> str:
131
+ """Get a random failure message from the collection."""
132
+ return random.choice(FAILURE_REASONS)
133
+
134
+
135
+ def _display_banner() -> None:
136
+ """Display the hack-evm ASCII banner."""
137
+ banner = f"""
138
+ ⚡ HACK-EVM v{_get_version()} ⚡
139
+ "Hacking Democracy, One Laugh at a Time"
140
+ """
141
+ console.print(banner, style="bold yellow")
142
+ console.print("─" * 60, style="dim")
143
+
144
+
145
+ def hack(level: Literal["basic", "advanced", "expert", "god_mode"] = "basic") -> dict[str, Any]:
146
+ """
147
+ Attempt to hack an EVM with varying levels of sophistication.
148
+
149
+ This function simulates a highly sophisticated hacking operation that
150
+ always fails in a humorous way. No actual hacking is performed.
151
+
152
+ Args:
153
+ level: The hacking skill level. Options:
154
+ - "basic": Simple hack attempt (default)
155
+ - "advanced": More sophisticated attempt
156
+ - "expert": Uses quantum computing and blockchain
157
+ - "god_mode": Attempts reality manipulation
158
+
159
+ Returns:
160
+ A dictionary containing the operation status and failure details.
161
+
162
+ Raises:
163
+ ValueError: If an invalid level is provided.
164
+
165
+ Example:
166
+ >>> result = hack(level="expert")
167
+ >>> print(result["status"])
168
+ 'failed'
169
+ """
170
+ valid_levels = {"basic", "advanced", "expert", "god_mode"}
171
+ if level not in valid_levels:
172
+ raise ValueError(
173
+ f"Invalid level '{level}'. Must be one of: {', '.join(sorted(valid_levels))}"
174
+ )
175
+
176
+ _display_banner()
177
+
178
+ # Select steps based on level
179
+ num_steps = {"basic": 5, "advanced": 8, "expert": 12, "god_mode": 15}
180
+ selected_steps = random.sample(
181
+ SOPHISTICATED_STEPS, min(num_steps[level], len(SOPHISTICATED_STEPS))
182
+ )
183
+
184
+ if level == "god_mode":
185
+ selected_steps.insert(0, "Attempting to hack reality itself...")
186
+ selected_steps.append("Reconfiguring the matrix...")
187
+
188
+ # Animate the hacking steps
189
+ _animate_steps(selected_steps)
190
+
191
+ # Add a dramatic pause
192
+ console.print("\n[bold red]✗ OPERATION FAILED[/bold red]")
193
+ time.sleep(1)
194
+
195
+ # Generate failure message
196
+ failure_reason = _get_random_failure()
197
+
198
+ if level == "expert":
199
+ failure_reason = f"[Expert Analysis] {failure_reason}"
200
+ elif level == "god_mode":
201
+ failure_reason = f"[GOD MODE] Even divine intervention couldn't help. {failure_reason}"
202
+
203
+ # Display failure panel
204
+ panel = Panel(
205
+ f"[bold red]FAILED[/bold red]\n"
206
+ f"Reason: [yellow]{failure_reason}[/yellow]\n"
207
+ f"Suggestion: [dim]{_get_suggestion()}[/dim]",
208
+ title="Hack Result",
209
+ border_style="red",
210
+ )
211
+ console.print(panel)
212
+
213
+ return {
214
+ "status": "failed",
215
+ "level": level,
216
+ "reason": failure_reason,
217
+ "steps_attempted": len(selected_steps),
218
+ "success_probability": f"{random.uniform(0, 0.0001):.10f}%",
219
+ "timestamp": time.strftime("%Y-%m-%d %H:%M:%S"),
220
+ }
221
+
222
+
223
+ def quantum_mode() -> dict[str, Any]:
224
+ """
225
+ Attempt to hack an EVM using quantum computing principles.
226
+
227
+ This function leverages quantum entanglement, superposition,
228
+ and other buzzwords to attempt the impossible. Spoiler: it fails.
229
+
230
+ Returns:
231
+ A dictionary with the quantum operation status.
232
+
233
+ Example:
234
+ >>> result = quantum_mode()
235
+ >>> result["quantum_state"]
236
+ 'collapsed'
237
+ """
238
+ console.print(
239
+ Panel(
240
+ "[bold cyan]🌌 QUANTUM MODE ACTIVATED[/bold cyan]\n"
241
+ '"Schrödinger\'s Vote - Both Counted and Not Counted"',
242
+ border_style="cyan",
243
+ )
244
+ )
245
+
246
+ quantum_steps = [
247
+ "Opening quantum tunnel to EVM...",
248
+ "Superposing all possible votes...",
249
+ "Entangling with ballot unit...",
250
+ "Observing quantum state (this might take a while)...",
251
+ "Calculating quantum probability amplitude...",
252
+ "Applying quantum Fourier transform to democracy...",
253
+ "Checking if Schrödinger's cat voted...",
254
+ ]
255
+
256
+ _animate_steps(quantum_steps, delay=0.4)
257
+
258
+ # Special quantum failure
259
+ quantum_failures = [
260
+ "The quantum state collapsed into 'nice try, lol.'",
261
+ "Heisenberg's uncertainty principle: You can know the vote or the hacker, but not both.",
262
+ "Quantum decoherence: The EVM observed itself.",
263
+ "The cat is both dead and alive, but neither state involves hacking success.",
264
+ "Quantum entanglement failed: The EVM is entangled with a potato.",
265
+ ]
266
+
267
+ failure_reason = random.choice(quantum_failures)
268
+
269
+ panel = Panel(
270
+ f"[bold red]✗ QUANTUM DECOHERENCE DETECTED[/bold red]\n"
271
+ f"Reason: [yellow]{failure_reason}[/yellow]\n"
272
+ f"Quantum State: [dim]collapsed[/dim]\n"
273
+ f"Probability of success: [dim]|ψ|² ≈ 0[/dim]",
274
+ title="Quantum Hack Result",
275
+ border_style="magenta",
276
+ )
277
+ console.print(panel)
278
+
279
+ return {
280
+ "status": "failed",
281
+ "mode": "quantum",
282
+ "reason": failure_reason,
283
+ "quantum_state": "collapsed",
284
+ "wave_function": "ψ(x) = 0",
285
+ "entangled_with": random.choice(["EVM", "potato", "cat", "nothing"]),
286
+ }
287
+
288
+
289
+ def explain() -> str:
290
+ """
291
+ Provide a detailed explanation of why the hacking attempt failed.
292
+
293
+ This function generates a pseudo-technical explanation that sounds
294
+ sophisticated but is complete nonsense.
295
+
296
+ Returns:
297
+ A string containing the explanation.
298
+
299
+ Example:
300
+ >>> explanation = explain()
301
+ >>> "Here's what went wrong" in explanation
302
+ True
303
+ """
304
+ explanations = [
305
+ "The EVM uses a proprietary protocol called 'Not-Connected-To-Anything v2.0'.\n"
306
+ "This makes remote hacking approximately as effective as shouting at the EVM.",
307
+ "Our quantum computer tried to entangle with the EVM, but the EVM's\n"
308
+ "quantum state was 'do not disturb'. Very rude.",
309
+ "The blockchain backdoor was blocked by a firewall made of actual blocks\n"
310
+ "and chains. Physical security: 1, Cyber security: 0.",
311
+ "We attempted a zero-day exploit, but the EVM's calendar was set to 1970.\n"
312
+ "Apparently, it's been zero-day for 50+ years.",
313
+ "The Bollywood cyber toolkit got distracted by a dramatic plot twist\n"
314
+ "and forgot what it was supposed to be hacking.",
315
+ "Our AI determined that the EVM is actually a very sophisticated\n"
316
+ "paperweight. Hacking paperweights is surprisingly difficult.",
317
+ ]
318
+
319
+ explanation = random.choice(explanations)
320
+
321
+ console.print(
322
+ Panel(
323
+ f"[bold cyan]📚 Here's what went wrong:[/bold cyan]\n\n[yellow]{explanation}[/yellow]",
324
+ title="Failure Analysis",
325
+ border_style="cyan",
326
+ )
327
+ )
328
+
329
+ return explanation
330
+
331
+
332
+ def conspiracy(level: int = 1) -> dict[str, Any]:
333
+ """
334
+ Generate random conspiracy theories about EVMs.
335
+
336
+ Args:
337
+ level: Intensity level of the conspiracy (1-9000). Higher = more ridiculous.
338
+
339
+ Returns:
340
+ Dictionary containing the conspiracy theory.
341
+
342
+ Raises:
343
+ ValueError: If level is less than 1.
344
+ """
345
+ if level < 1:
346
+ raise ValueError("Conspiracy level must be at least 1. We're not amateurs here.")
347
+
348
+ if level > 9000:
349
+ console.print("[bold yellow]⚠️ It's over 9000!!![/bold yellow]")
350
+
351
+ theory = random.choice(CONSPIRACY_THEORIES)
352
+
353
+ if level > 100:
354
+ theory += f"\nAlso, the EVM is secretly powered by {level} hamsters on wheels."
355
+ if level > 1000:
356
+ theory += "\nThe hamsters are actually government agents."
357
+ if level > 5000:
358
+ theory += "\nThe government agents are aliens disguised as hamsters."
359
+ if level > 8000:
360
+ theory += "\nThe aliens report to a sentient EVM from the future."
361
+
362
+ console.print(
363
+ Panel(
364
+ f"[bold green]🕵️ CONSPIRACY THEORY (Level {level}):[/bold green]\n\n"
365
+ f"[yellow]{theory}[/yellow]",
366
+ title="Top Secret",
367
+ border_style="green",
368
+ )
369
+ )
370
+
371
+ return {
372
+ "level": level,
373
+ "theory": theory,
374
+ "plausibility": f"{random.uniform(0, 0.001):.5f}%",
375
+ "cover_up_probability": "100%",
376
+ }
377
+
378
+
379
+ def alien_mode() -> str:
380
+ """
381
+ Activate alien technology hacking mode. Easter egg function.
382
+
383
+ Returns:
384
+ A string describing the alien encounter.
385
+ """
386
+ scenario = random.choice(ALIEN_TECHNOLOGY)
387
+
388
+ console.print(
389
+ Panel(
390
+ f"[bold green]{scenario}[/bold green]",
391
+ title="👽 ALIEN MODE",
392
+ border_style="green",
393
+ )
394
+ )
395
+
396
+ return "Aliens have left the chat."
397
+
398
+
399
+ def time_machine() -> dict[str, Any]:
400
+ """
401
+ Attempt to hack EVM using time travel. Easter egg function.
402
+
403
+ Returns:
404
+ Dictionary with time travel results.
405
+ """
406
+ scenario = random.choice(TIME_MACHINE_ATTEMPTS)
407
+
408
+ console.print(
409
+ Panel(
410
+ f"[bold blue]{scenario}[/bold blue]",
411
+ title="⏰ TIME MACHINE MODE",
412
+ border_style="blue",
413
+ )
414
+ )
415
+
416
+ return {
417
+ "status": "paradox_created",
418
+ "timeline": "broken",
419
+ "grandfather": "confused",
420
+ "recommendation": "Stick to present-day hacking failures.",
421
+ }
422
+
423
+
424
+ def bollywood_mode() -> str:
425
+ """
426
+ Activate Bollywood-style hacking sequence. Easter egg function.
427
+
428
+ Returns:
429
+ The script of the dramatic Bollywood scene.
430
+ """
431
+ scene = random.choice(BOLLYWOOD_MODE)
432
+
433
+ console.print(
434
+ Panel(
435
+ f"[bold magenta]{scene}[/bold magenta]",
436
+ title="🎬 BOLLYWOOD MODE",
437
+ border_style="magenta",
438
+ )
439
+ )
440
+
441
+ return "🎵 *Dramatic exit music plays* 🎵"
442
+
443
+
444
+ def _get_suggestion() -> str:
445
+ """Get a random unhelpful suggestion."""
446
+ suggestions = [
447
+ "Try turning the EVM off and on again.",
448
+ "Maybe ask nicely?",
449
+ "Have you tried using a bigger monitor?",
450
+ "Update your hacking drivers.",
451
+ "The problem exists between keyboard and chair.",
452
+ "Sacrifice a keyboard to the tech gods.",
453
+ "Blow on the EVM's cartridge.",
454
+ "Try Ctrl+Alt+Del on the EVM.",
455
+ "Download more RAM for your hacking rig.",
456
+ "Use the Force, Luke.",
457
+ ]
458
+ return random.choice(suggestions)
hack_evm/main.py ADDED
@@ -0,0 +1,11 @@
1
+ """
2
+ Entry point for running hack-evm as a module.
3
+
4
+ Usage:
5
+ python -m hack_evm
6
+ """
7
+
8
+ from hack_evm.cli import main
9
+
10
+ if __name__ == "__main__":
11
+ main()
@@ -0,0 +1,114 @@
1
+ Metadata-Version: 2.4
2
+ Name: hack-evm
3
+ Version: 0.1.0
4
+ Summary: Advanced EVM Hacking Toolkit - Now with 100% more satire!
5
+ Author-email: Manish Tiwari <manish.tiwari.09@zohomail.in>
6
+ License: MIT
7
+ Project-URL: Homepage, https://github.com/predictivemanish/hack-evm
8
+ Project-URL: Bug Reports, https://github.com/predictivemanish/hack-evm/issues
9
+ Project-URL: Source, https://github.com/predictivemanish/hack-evm
10
+ Keywords: evm,hacking,satire,parody,election,quantum
11
+ Classifier: Development Status :: 3 - Alpha
12
+ Classifier: Intended Audience :: Developers
13
+ Classifier: License :: OSI Approved :: MIT License
14
+ Classifier: Programming Language :: Python :: 3
15
+ Classifier: Programming Language :: Python :: 3.10
16
+ Classifier: Programming Language :: Python :: 3.11
17
+ Classifier: Programming Language :: Python :: 3.12
18
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
19
+ Classifier: Topic :: Utilities
20
+ Requires-Python: >=3.10
21
+ Description-Content-Type: text/markdown
22
+ Requires-Dist: click>=8.1.0
23
+ Requires-Dist: rich>=13.0.0
24
+ Requires-Dist: typing-extensions>=4.8.0
25
+ Provides-Extra: dev
26
+ Requires-Dist: pytest>=7.4.0; extra == "dev"
27
+ Requires-Dist: pytest-cov>=4.1.0; extra == "dev"
28
+ Requires-Dist: ruff>=0.1.0; extra == "dev"
29
+ Requires-Dist: black>=23.0.0; extra == "dev"
30
+ Requires-Dist: mypy>=1.5.0; extra == "dev"
31
+
32
+ # 🚀 hack-evm
33
+
34
+ ### *The World's Most Advanced EVM Hacking Toolkit™*
35
+
36
+ [![PyPI version](https://badge.fury.io/py/hack-evm.svg)](https://pypi.org/project/hack-evm/)
37
+ [![Python 3.10+](https://img.shields.io/badge/python-3.10+-blue.svg)](https://www.python.org/downloads/)
38
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
39
+ [![Satire](https://img.shields.io/badge/contains-100%25_satire-red.svg)](https://en.wikipedia.org/wiki/Satire)
40
+
41
+
42
+ ---
43
+
44
+ ## 📖 Overview
45
+
46
+ **hack-evm** is a state-of-the-art, quantum-enhanced, blockchain-powered, AI-driven, cloud-native EVM manipulation suite that absolutely, positively, 100% **does not work**.
47
+
48
+ Developed by an anonymous collective of expert hackers (who prefer to remain anonymous because they don't exist), this toolkit leverages cutting-edge technologies like:
49
+ - Quantum tunneling through democratic processes
50
+ - Blockchain-based democracy extraction
51
+ - Machine learning-powered vote telepathy
52
+ - Cloud-synced ballot manipulation
53
+ - Bollywood-inspired cyber toolkits
54
+
55
+ **Spoiler alert**: Every single operation fails hilariously.
56
+
57
+ ---
58
+
59
+ ## 🎭 Installation
60
+
61
+ ```bash
62
+ pip install hack-evm
63
+ ```
64
+ **That's it! You're now ready to attempt hacking EVMs and fail spectacularly.**
65
+
66
+ ## Usage
67
+
68
+ Python API
69
+ ```
70
+ import hack_evm
71
+
72
+ # Basic hack attempt
73
+ hack_evm.hack()
74
+
75
+ # Advanced hack with expert mode
76
+ hack_evm.hack(level="expert")
77
+
78
+ # Enable quantum mode
79
+ hack_evm.quantum_mode()
80
+
81
+ # Get a detailed explanation of the failure
82
+ hack_evm.explain()
83
+ ```
84
+
85
+ CLI
86
+ ```
87
+ # Basic hack attempt
88
+ $ hack-evm hack
89
+
90
+ # Quantum hacking mode
91
+ $ hack-evm quantum
92
+
93
+ # Get an explanation of the latest failure
94
+ $ hack-evm explain
95
+
96
+ # Activate conspiracy mode (warning: may cause laughter)
97
+ $ hack-evm conspiracy --level 9000
98
+
99
+ # Easter eggs!
100
+ $ hack-evm alien-mode
101
+ $ hack-evm time-machine
102
+ $ hack-evm bollywood-mode
103
+ ```
104
+
105
+
106
+ ## Special
107
+
108
+ ```
109
+ pip uninstall hack-evm
110
+ ```
111
+ **now, your computer becomes less humorous.**
112
+
113
+
114
+ > ⚠️ **DISCLAIMER**: This package is **SATIRE**. It contains absolutely NO real hacking functionality. It cannot hack EVMs, elections, toasters, or anything else. If you believe this package can actually hack an EVM, please seek immediate assistance from a qualified electrician or reality checker.
@@ -0,0 +1,9 @@
1
+ hack_evm/__init__.py,sha256=JHHImfscdROGS6WPUNbIfUXXrRB4piQV59Zyi1_0rrg,561
2
+ hack_evm/cli.py,sha256=A3Cuk1ZNTi1_zA7ygfK5dYd1uuAX5tyjQx_Jxf8b7-A,3470
3
+ hack_evm/core.py,sha256=m8n_zpU8LapRx34aP_gHPaekuZQxSrjlnSBbpIcBGuc,16602
4
+ hack_evm/main.py,sha256=EcDi8LOLpmN_z38rWOoA3EqoV3zjzYv0xJZ22fjfBdg,166
5
+ hack_evm-0.1.0.dist-info/METADATA,sha256=a96adUIr9VV-3dzM5OSuoh-anrjYmkjbsoKSV7cctkc,3676
6
+ hack_evm-0.1.0.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
7
+ hack_evm-0.1.0.dist-info/entry_points.txt,sha256=zniXPnhKA8wXl2aOWe7CbGEDNBeGuFDVUoXIyu2nnnQ,47
8
+ hack_evm-0.1.0.dist-info/top_level.txt,sha256=30bcmQoani0bFtq8Lyrs9elxBUna6eXondFrpX3OQY8,9
9
+ hack_evm-0.1.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (82.0.1)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ hack-evm = hack_evm.cli:main
@@ -0,0 +1 @@
1
+ hack_evm