Skip to content

Instantly share code, notes, and snippets.

View dustywusty's full-sized avatar
✌️
A gelatinous BODYODYODYODYODYODYODYODYOdyy

Dusty dustywusty

✌️
A gelatinous BODYODYODYODYODYODYODYODYOdyy
View GitHub Profile
@dustywusty
dustywusty / twitter_unlike_all.ts
Last active September 3, 2023 07:33
twitter unlike unlike-all script browser
// for your browser's javascript console on the <https://twitter.com/user/likes> page
let totalUnlikedCount = 0;
const clickUnlikeButtons = () => {
const unlikeButtons = Array.from(document.querySelectorAll('div[data-testid="unlike"]'));
let count = 0;
unlikeButtons.forEach((button) => {
const ariaLabel = button.getAttribute('aria-label');
const likesMatch = ariaLabel && ariaLabel.match(/^\d+\sLikes?\.\sLiked$/);
if (likesMatch) {
(() => {
let count = 0;
function getAllButtons() {
return document.querySelectorAll('button.is-following') || [];
}
async function unfollowAll() {
const buttons = getAllButtons();
### Keybase proof
I hereby claim:
* I am dustywusty on github.
* I am dusty (https://keybase.io/dusty) on keybase.
* I have a public key ASA85HC9ojVXdILG3jCHNMcruYynIimJlcaDE5dSQrtOmwo
To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am dustywusty on github.
  • I am dusty (https://keybase.io/dusty) on keybase.
  • I have a public key whose fingerprint is 2F98 F369 8D75 F1C0 35C7 9492 D6EF AE90 1608 7D74

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am clarkda on github.
  • I am dusty (https://keybase.io/dusty) on keybase.
  • I have a public key whose fingerprint is 0B6B FD67 DC73 129C C95B 374F 47FB 6DA3 C32E C0F4

To claim this, I am signing this object:

chunk:~ dusty$ traceroute fuckyeahminecraft.com
traceroute to fuckyeahminecraft.com (23.239.18.219), 64 hops max, 52 byte packets
1 10.0.1.1 (10.0.1.1) 2.440 ms 1.463 ms 1.467 ms
2 96.120.19.17 (96.120.19.17) 9.115 ms 17.569 ms 9.675 ms
3 te-8-1-ur01.huntsville.al.hunts.comcast.net (68.85.227.153) 8.756 ms 8.982 ms 9.939 ms
4 te-0-7-0-1-sur02.huntsville.al.hunts.comcast.net (68.87.163.106) 10.224 ms
te-0-7-0-0-sur02.huntsville.al.hunts.comcast.net (68.87.163.102) 9.820 ms
te-0-7-0-1-sur02.huntsville.al.hunts.comcast.net (68.87.163.106) 9.200 ms
5 xe-7-1-11-0-ar04.huntsville.al.hunts.comcast.net (162.151.13.26) 9.589 ms
xe-0-1-6-0-ar04.huntsville.al.hunts.comcast.net (68.85.227.193) 35.446 ms
#!/usr/bin/env ruby
#
# Locates and removes Homebrew installation
# http://brew.sh/
#
# Author: Stephen Benner
# https://github.com/SteveBenner
#
require 'optparse'
require 'fileutils'
iptables -F
iptables -X
iptables -P INPUT DROP
iptables -P OUTPUT DROP
iptables -P FORWARD DROP
iptables -A INPUT -i lo -j ACCEPT
iptables -A OUTPUT -o lo -j ACCEPT
@dustywusty
dustywusty / linode327459.md
Last active January 1, 2016 00:19
postmortem of a hack

[xxxxxxx] ToS Violation - Malicious Activity

We take the integrity of our network very seriously [...] appreciate your cooperation in investigating this activity [...] Please keep us updated.

address under your control appears to have attacked one of our customers as part of a coordinated DDoS botnet. [...] UDP packets with a one-byte payload [...] and captured by our router during the attack.

08:42:35.965313 IP (tos 0x0, ttl 53, id 0, offset 0, flags [DF], proto UDP (17), length 29) 66.228.62.237.51282 > 1.2.3.4.80: UDP, length 1
0x0000: 4500 001d 0000 4000 3511 07d7 42e4 3eed E.....@.5...B.&gt;.