- javascript:alert(1)
- @nJoyneer
- @thypon@mastodon.social
- https://pompel.me
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Shrodinger { | |
static int DEAD = 0; | |
static int ALIVE = 1; | |
int status; | |
} | |
class Main { | |
stativ void main() { | |
Shrodinger cat = new Shrodinger(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'socket' | |
def command(cmd) | |
s = TCPSocket.new 'shmap.9447.plumbing', 9447 | |
data = s.recv(20000) | |
s.puts cmd | |
data = s.gets | |
s.close # close socket when done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"flag" | |
"log" | |
"net" | |
"time" | |
"sync" | |
"errors" | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Proc | |
def self.compose(f, g) | |
lambda { |*args| f[g[*args]] } | |
end | |
def *(g) | |
Proc.compose(self, g.to_proc) | |
end | |
def |(g) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'rubygems' | |
require 'gems' | |
require 'json' | |
class Package < Struct.new(:name, :language, :version, :hash, :source, :homepage, :depends) | |
end | |
class Dependencies < Struct.new(:hostmake, :make, :runtime) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// dontfork.c, a little ptrace utility that traces all child process | |
// and exits only when the latest spawned child is dead | |
#include <assert.h> | |
#include <stdio.h> | |
#include <sys/ptrace.h> | |
#include <sys/types.h> | |
#include <sys/wait.h> | |
#include <string.h> | |
#include <linux/ptrace.h> | |
#include <sys/prctl.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
recursivechecksec() { | |
sudo LD_TRACE_LOADED_OBJECTS=1 LD_VERBOSE=1 /lib/ld-linux-x86-64.so.2 $1 | grep "=>" | sed 's|\s*||' | sed 's|(.*)||g' | awk '{print $3}' | sort | uniq | xargs -n1 ls -la | awk '{print $11}' | xargs -n1 echo /usr/lib/ | sed 's|\s*||g' | xargs -n1 checksec --file | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ http get archassault.org | |
HTTP/1.1 302 Found | |
Cache-Control: no-cache | |
Connection: close | |
Content-Length: 87 | |
Content-Type: text/html; charset=utf-8 | |
Location: https://blackarch.org | |
P3P: CP="IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT" | |
Server: nginx/0.7.65 + Phusion Passenger 2.2.5 (mod_rails/mod_rack) | |
Status: 302 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
void startDebugger (); | |
void stopDebugger (); | |
char gdbRead (); | |
void gdbWrite (char c); | |
void readUntilPrompt (unsigned char *data); // If data is NULL copy to stdout |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <tuple> | |
#include <list> | |
#include <string> | |
#include <cstdlib> | |
#include <ctime> | |
#include <iostream> | |
#include <thread> | |
#define ENTRY pair<string, unsigned int> | |
#define LABEL 0 |
OlderNewer