Skip to content

Instantly share code, notes, and snippets.

View lostkagamine's full-sized avatar
🔥
rawr

Sylvie Nightshade lostkagamine

🔥
rawr
View GitHub Profile
# untrustworthy_boolean.har
function make_untrustworthy!(obj) do
if type(obj) != "boolean" then
abort("not a bool")
end
override obj.get do
trueval = obj.get!()
if Harmony::Random.select(1, 5) == 1 then
trueval = not trueval
.386
.model flat, stdcall
option casemap:none
include \masm32\include\windows.inc
include \masm32\include\kernel32.inc
include \masm32\include\user32.inc
include \masm32\include\msvcrt.inc
include \masm32\include\gdi32.inc
@lostkagamine
lostkagamine / README.md
Created August 21, 2019 22:08
SCRIPT-8
@lostkagamine
lostkagamine / sysview.js
Last active January 28, 2018 19:41
System Viewer for Hackmud. Also doubles as junk culler.
function(context, args)
{
var args = args || {};
var cull = args.mode == 'cull';
var upgs = #hs.sys.upgrades(); // get all upgrades
var crarities = args.rarities || [0, 1];
var cexclude = args.exclude_type || ['tool', 'script_space'];
var showloaded = !!args.show_loaded;
var ctiers = args.tiers || [1];
var rarities = ['n00b', 'kiddie', 'h4x0r', 'h4rdc0re', '|_|b3|2', '31337']
@lostkagamine
lostkagamine / access_scraper.js
Last active February 17, 2018 15:29
A quick hackmud access log scraper I put together
function(context, args)
{
var alogrg = /(?:Connection from|Breach attempt from|(?:sys\..*) execution from) (.*\..*)/; // alicegex
var logwriterrg = /sys.write_log execution from (?:.*\..*)/;
var alogs = #ls.sys.access_log();
var locs = [];
var logw = false;
for (var i=alogs.length-1; i >= 0; i--) {
if (logw) {
logw = false;
Here is a test
@lostkagamine
lostkagamine / keybase.md
Created May 12, 2017 20:18
my keybase thingy

Keybase proof

I hereby claim:

  • I am ry00000 on github.
  • I am ry00001 (https://keybase.io/ry00001) on keybase.
  • I have a public key ASAkZ5_K8gASSGOa6Oj2zBXXLa5BwB3ngjNkv5jnSe-P2Qo

To claim this, I am signing this object: