Skip to content

Instantly share code, notes, and snippets.

View dweekly's full-sized avatar
🙃

David E. Weekly dweekly

🙃
View GitHub Profile
@dweekly
dweekly / musd-spam.txt
Created February 1, 2024 02:14
MUSD Spam
Original Message
Message ID <_ucfkjdshf-Ct-_1km0jq95tui1ir@_vfzcd.dcccd.edu>
Created at: Wed, Jan 31, 2024 at 1:48 PM (Delivered after 697 seconds)
From: dweekly <xfuhpy@wdhqlqjsdjpq.musd.org>
Delivered-To: dweekly@gmail.com
Received: by 2002:a05:7011:7ce:b0:3ab:8911:ddb with SMTP id mm14csp121274mdb;
Wed, 31 Jan 2024 14:00:03 -0800 (PST)
X-Received: by 2002:a17:903:24f:b0:1d8:ef06:10a6 with SMTP id j15-20020a170903024f00b001d8ef0610a6mr3519536plh.26.1706738403303;
Wed, 31 Jan 2024 14:00:03 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; t=1706738403; cv=none;
@dweekly
dweekly / gist:21f66f429d46bed0d33f0415ce0bf208
Created April 26, 2022 02:32
qFlipper 1.0.1 macOS Crash
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------
Process: qFlipper [80002]
Path: /Applications/qFlipper.app/Contents/MacOS/qFlipper
Identifier: test.qFlipper
Version: ???
Code Type: X86-64 (Translated)
Parent Process: launchd [1]

Keybase proof

I hereby claim:

  • I am dweekly on github.
  • I am dweekly (https://keybase.io/dweekly) on keybase.
  • I have a public key ASDFhxgpi8s8xrpIDHb6isPsxOevv8p6U4PonLAz5zo-Gwo

To claim this, I am signing this object:

@dweekly
dweekly / bootfail.txt
Created October 8, 2020 21:27
Boot Failure on macOS 10.15.7 with MacBook Pro Retina (15-inch, 2019)
panic(cpu 2 caller 0xffffff7f919a1aae): watchdog timeout: no checkins from watchdogd in 310 seconds (1468 totalcheckins since monitoring last enabled), shutdown in progress
Backtrace (CPU 2), Frame : Return Address
0xffffff83b9dcbc40 : 0xffffff8010f1a65d
0xffffff83b9dcbc90 : 0xffffff8011054a75
0xffffff83b9dcbcd0 : 0xffffff80110465fe
0xffffff83b9dcbd20 : 0xffffff8010ec0a40
0xffffff83b9dcbd40 : 0xffffff8010f19d27
0xffffff83b9dcbe40 : 0xffffff8010f1a117
0xffffff83b9dcbe90 : 0xffffff80116c1ad8
0xffffff83b9dcbf00 : 0xffffff7f919a1aae
@dweekly
dweekly / WixFail
Created August 26, 2020 06:46
Wix returns an internal TLS server error in the ServerHello when presented with an unknown SNI.
$ curl -v https://www.x.co/ --resolve www.x.co:443:23.236.62.147
* Added www.x.co:443:23.236.62.147 to DNS cache
* Hostname www.x.co was found in DNS cache
* Trying 23.236.62.147...
* TCP_NODELAY set
* Connected to www.x.co (23.236.62.147) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/cert.pem
@dweekly
dweekly / ftpcheck.pl
Created August 16, 2020 03:52
ftpcheck scans hosts and networks for FTP and anonymous FTP archives.
#!/usr/bin/perl
########################################################
# ftpcheck v0.31 [November 2, 1998]
# http://david.weekly.org/code
#
# by David Weekly <dew@cs.stanford.edu>
#
# Thanks to Shane Kerr for cleaning up the process code!
#
@dweekly
dweekly / relaycheck.pl
Created August 16, 2020 03:51
Scans for SMTP relays.
#!/usr/bin/perl
use Socket;
use Net::SMTP;
my $MAXPIDS=250;
my $TESTFROM="YOUR\@EMAIL.HERE";
my $TESTTO="OTHER\@EMAIL.ADDRESS";
@dweekly
dweekly / sweep.pl
Created August 16, 2020 03:50
This silly snippet from 1999 scraped Snap during their sweepstakes; I ended up winning several prizes! Heh
#!/usr/bin/perl;
use LWP::UserAgent;
$ua = new LWP::UserAgent;
$ua->agent("Mozilla/4.0 (compatible; Microsoft Internet Explorer 4.5; dewgrab v1.1; RedHat Linux 5.0)");
$ua->from('dew@cs.stanford.edu');
my $request = new HTTP::Request('GET','http://home.snap.com/search/directory/results/1,61,-0,00.html?keyword=hawaii');
$|=1;
print "entering sweepstakes...";
​ new part 172076
2​ new part 180268
​ new part 172076
​ new part 180268
​ new part 172076
​ new part 180268
​ new part 172076
​ new part 180268
​ new part 172076
​ new part 180268
@dweekly
dweekly / aidungeon.txt
Created July 29, 2020 19:57
A short AI Dungeon game played by dweekly July 29, 2020
You are Muffy, a peasant living in a small village in the kingdom of Larion. You have a pitchfork and nothing else. You dream of getting out of your village and having an adventure. You go to your fields and begin working. You look up and see a large crowd of people outside. You go to see what it is and you see a lot of people dressed in red cloaks. They are religious warriors and they have come to your village to kill evil.
> You learn how to fight with swords.
You walk up to a warrior and begin chatting. After a while he asks you a question, "Why are you here?"
You think for a moment, "To learn how to fight."
> You save up for and purchase a sword.
You save up all your money and buy a basic steel sword for yourself. It's very sharp and effective, but heavy. You practice with it every day and soon you are able to easily deflect any attack.
> You ask a mage to bless your sword.