Skip to content

Instantly share code, notes, and snippets.

View keybase.md

Keybase proof

I hereby claim:

  • I am jasonpratt on github.
  • I am jasonpratt (https://keybase.io/jasonpratt) on keybase.
  • I have a public key ASBBhNlkPH7j4LMyNe-odQJyki8QLbjDhVckEgWSo6uGSgo

To claim this, I am signing this object:

@Harduim
Harduim / lsb.py
Created Jul 1, 2022
LSB using python, naive implementation vs bitwise black magic.
View lsb.py
flags_bytes = ["00000000", "00000001", "00000110", "00000011", "01001100", "10001000"]
flags = [0, 1, 6, 3, 76, 136]
lsb_expected = [0, 1, 2, 1, 4, 8]
def naive_lsb(num):
for i, bit in enumerate(bin(num)[2:][::-1]):
if int(bit) == 1:
return 2**i
View malicious_requests.log
95.211.187.223 - [01/Jul/2022:13:45:58 +0000] "GET /index.php HTTP/1.1" 302 2048 "-" "Go-http-client/1.1"
95.211.187.223 - [01/Jul/2022:13:45:58 +0000] "GET /index.php HTTP/1.1" 302 2048 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.54 Safari/537.36"
95.211.187.223 - [01/Jul/2022:13:45:58 +0000] "GET /wp-admin/setup-config.php HTTP/1.1" 200 4096 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.54 Safari/537.36"
95.211.187.223 - [01/Jul/2022:13:45:59 +0000] "POST /wp-admin/setup-config.php?step=2 HTTP/1.1" 200 4096 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.54 Safari/537.36"
95.211.187.223 - [01/Jul/2022:13:46:00 +0000] "POST /wp-login.php HTTP/1.1" 302 2048 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.54 Safari/537.36"
95.211.187.223 - [01/Jul/2022:13:46:00 +0000] "GET /wp-admin/i
View gist:03ea25979c16a31565356adfa477a9e3
```c
typedef struct __attribute__((packed))
{
uint32_t instruction_code; // 2 for Transfer
uint64_t amount;
} util_SystemTransferData;
static uint64_t util_transfer_lamports_signed(SolPubkey *source_account, SolPubkey *destination_account,
uint64_t lamports, SolSignerSeeds *seeds, int seeds_len,
View Potential Maintainers
Maintainers:
mic92: systemd, udev, systemdStage1, systemdMinimal, systemdMinimal, systemdStage1, systemdStage1, udev, systemdStage1Network, systemd, systemdStage1Network, systemd, systemdStage1Network, systemdMinimal, udev
kloenk: systemd, udev, systemdStage1, systemdMinimal, systemdMinimal, systemdStage1, systemdStage1, udev, systemdStage1Network, systemd, systemdStage1Network, systemd, systemdStage1Network, systemdMinimal, udev
flokli: systemd, udev, systemdStage1, systemdMinimal, systemdMinimal, systemdStage1, systemdStage1, udev, systemdStage1Network, systemd, systemdStage1Network, systemd, systemdStage1Network, systemdMinimal, udev
View Changed Paths
This file has been truncated, but you can view the full file.
x86_64-linux linuxKernel.packages.hardkernel_4_14.system76-power
i686-linux plasma5Packages.polkit-kde-agent
x86_64-linux haskellPackages.postgresql-schema
x86_64-linux haskellPackages.postgresql-common
x86_64-linux gitty
x86_64-linux libretro.desmume2015
aarch64-linux haskellPackages.gtk3
x86_64-linux octavePackages.sockets
x86_64-linux home-assistant-component-tests.google_translate
View untrusted-lvl4-solution.js
/*******************
* multiplicity.js *
*******************
*
* Out of one cell and into another. They're not giving you
* very much to work with here, either. Ah, well.
*
* Level filenames can be hints, by the way. Have I
* mentioned that before?
*
View Output path comparison
nix-env failed:
error: infinite recursion encountered
at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/ofborg-evaluator-5/pkgs/applications/science/math/sage/default.nix:49:60:
48| logo64 = "${sage-src}/src/doc/common/themes/sage/static/sageicon.png";
49| } // lib.optionalAttrs withDoc { extraPaths = { "doc" = "${sagedoc}/share/doc/sage/html/en"; }; };
| ^
50|
@HugsLibRecordKeeper
HugsLibRecordKeeper / output_log.txt
Created Jul 1, 2022
Rimworld output log published using HugsLib
View output_log.txt
This file has been truncated, but you can view the full file.
Log uploaded on Friday, July 1, 2022, 1:54:22 PM
Loaded mods:
Harmony(brrainz.harmony)[mv:1.3.0.0]: 0Harmony(2.2.1), HarmonyMod(1.3.0)
Core(Ludeon.RimWorld): (no assemblies)
Better Log - Fix your errors with style(bs.betterlog): BetterLog(1.0.0)
Royalty(Ludeon.RimWorld.Royalty): (no assemblies)
Ideology(Ludeon.RimWorld.Ideology): (no assemblies)
All your base(Mehni.AllYourBase): Assembly(av:0.1.0.1,fv:1.0.0)
HugsLib(UnlimitedHugs.HugsLib)[ov:9.0.1]: 0Harmony(av:2.2.1,fv:1.2.0.1), HugsLib(av:1.0.0,fv:9.0.1)