Skip to content

Instantly share code, notes, and snippets.

View vaguue's full-sized avatar
👽

vaguue

👽
View GitHub Profile
@vaguue
vaguue / tt.js
Created December 24, 2024 14:44
[
{
_id: ObjectId('675ed3357db0ff3ca29a0434'),
telegram: {
clientId: 7886176629,
engagement: {
_id: ObjectId('675ed3358a4c227842159648'),
clientId: 'tt',
cmp: 'pon',
source: 'ubt'
const A = {};
A.VAL_1 = class VAL_1 {
static toCpp() {
return 12;
}
}
const B = {};
@vaguue
vaguue / debug.h
Last active December 9, 2022 11:41
Inject code in target's DT_INIT with LIEF
#include <iostream>
struct DebugStream {
struct NullStream : public std::ostream {
struct NullBuffer : public std::streambuf {
int overflow(int c) override { return c; }
} buffer;
NullStream() : std::ostream(&buffer) {}
} null;
#!/bin/bash
root=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd );
lockfn=$root/merge-lock
target="/home/rousy/seva/github-test/test2"
#watchTarget="emulation-service"
watchTarget="da"
cd $target
FROM node:16
RUN apt-get update
#E: Unable to locate package python-pygoocanvas
#E: Package 'python-gnome2' has no installation candidate
#E: Unable to locate package python-gnome2-desktop-dev
#E: Unable to locate package python-rsvg
RUN apt-get install -y vim build-essential autoconf automake libxmu-dev python-pygraphviz cvs mercurial bzr git cmake p7zip-full python-matplotlib python-tk python-dev python-kiwi qt4-dev-tools qt4-qmake qt4-qmake qt4-default gnuplot-x11
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y tshark wireshark
//------------------------//
Napi::ObjectWrap<Wrapper>
//------------------------//
//------------------------//
// +GetClass(...)
//------------------------//
//------------------------//
Wrapper
//------------------------//
//------------------------//
Napi::ObjectWrap<Wrapper>
//------------------------//
//------------------------//
// +GetClass(...)
//------------------------//
//------------------------//
Wrapper
//------------------------//
//------------------------//
Napi::ObjectWrap<Wrapper>
//------------------------//
//------------------------//
// +GetClass(...)
//------------------------//
//------------------------//
Wrapper
//------------------------//
##OUTSTAFF
server {
listen 80;
server_name outstaff.boosters.pro;
access_log /var/www/ts/logs/as.access.log;
error_log /var/www/ts/logs/as.error.log notice;
location / {
proxy_pass http://localhost:3006;
access_log /var/www/ts/logs/ts_root;
@vaguue
vaguue / Dockerfile
Last active September 30, 2022 01:46
Docker image for using Ghidra with Ghidraal plugin
ARG VERSION=21.1.0
ARG JAVA_VERSION=java11
#FROM ghcr.io/graalvm/nodejs:java${JAVA_VERSION}-${VERSION}
#FROM ghcr.io/graalvm/jdk:java${JAVA_VERSION}-${VERSION}
FROM docker.io/findepi/graalvm:${JAVA_VERSION}
RUN apt-get update
RUN apt-get install -y vim git wget gradle gpg software-properties-common wget zip unzip curl libxrender1 libxtst6
#RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys D7CC6F019D06AF36
#