← All reportsPublic report

narkoz/hacker-scripts

Based on a true story

50k stars JavaScript View on GitHubprofiled 11d ago
Try GitZoid
0PRs this week
0Contributors
0Deps scanned
0Issues found
01 · Repo overview

How hacker-scripts is put together

This repository is a humorous collection of small automation scripts ('hacker scripts') that each perform a single prank/automation task: sending a late-at-work SMS, auto-replying to a DBA's emails and rolling back a staging database, emailing a sick-day excuse, and brewing coffee over telnet. There is no application architecture or shared framework; instead, each of the four core tasks is implemented independently in many languages (Bash at the repo root, plus ruby/, python/, python3/, nodejs/, go/, java/, kotlin/, perl/, php/, powershell/, clojure/, scala/, groovy/, CSharp/, R/, coffee/ directories). Data flow is minimal: scripts read environment variables for credentials, call external services (Twilio SMS API, Gmail IMAP, a telnet-enabled coffee machine) or local commands like `who -q`, and are intended to be triggered by cron jobs documented in the README.

Languages

Shell (Bash)RubyPythonJavaScript (Node.js)GoJavaKotlinPerlPHPPowerShellClojureScalaGroovyC#RCoffeeScript

Frameworks

Express (nodejs/fucking_coffee_yo_server.js HTTP callback server)telnet-client (Node.js telnet library)twilio-ruby / twilio (SMS API clients)gmail / yagmail (email clients)dotenv (env var loading)

Infrastructure

cron jobs (documented schedules in README)SSH session detection via `who -q`telnet access to a networked coffee machineTwilio SMS APIGmail IMAP inbox scanning

Major components

smack-my-bitch-up (all languages)

Cron-triggered script that checks for active SSH sessions after 9pm and sends a randomized 'late at work' SMS via Twilio.

kumar-asshole / kumar_asshole (all languages)

Scans the Gmail inbox for emails from 'Kumar' containing help/trouble keywords, SSHes into a client server to restore the latest database backup, and sends an automated reply.

hangover (all languages)

Cron job that, when no interactive sessions exist at 8:45am on scheduled dates, emails a randomized 'working from home / not feeling well' excuse.

fucking-coffee (all languages)

Waits ~17 seconds then opens a telnet session to a networked coffee machine and issues `sys brew` / `sys pour` commands with timed delays.

Yo callback server (nodejs/fucking_coffee_yo_server.js)

Express HTTP server that receives Yo API callbacks, authorizes by username query parameter, and triggers the coffee-brewing telnet sequence.

python3/hackerutils.py

Shared utility module for the Python 3 implementations of the scripts.

Configuration & docs (.env.example, README.md, README.zh-CN.md)

Documents required environment variables (Twilio SID/token, Gmail credentials) and the cron schedule for each script.

02 · Weekly changes

No digest this week

1 weeksWeek of

03 · Security check

Dependencies and code review

0 dependencies scanned

Dependency advisories

Security Watch

No known advisories across 0 scanned dependencies.

No known advisories in the scanned dependencies.

Code review

No concrete code-level issues confirmed.

Get this report every week for your repos.

GitZoid learns each repo, reports what changed, and flags what needs attention. One flat price for the whole team.

$19 a month, flat · First 10 outputs free · No card required