Skip to content

Instantly share code, notes, and snippets.

@peiga
peiga / getduid.cs
Created March 20, 2023 16:29 — forked from Wack0/getduid.cs
clipc!GetOfflineDeviceUniqueID PoC.
using System;
using System.Runtime.InteropServices;
enum RETRIEVAL_METHOD {
ODUID_DEFAULT = 0,
ODUID_TPM_EK,
ODUID_UEFI_VARIABLE_TPM,
ODUID_UEFI_VARIABLE_RANDOMSEED,
ODUID_UEFI_DEV_LOCK_UNLOCK, // there is no code for this in clipsvc.dll, given the enum name, this could be Windows Phone only?
ODUID_XBOX_CONSOLE_ID, // this should never be seen, with xbox one a different function is called to get the console ID
@peiga
peiga / udp.js
Created November 18, 2022 16:33 — forked from sid24rane/udp.js
Simple UDP Client and Server in Node.js ==> ( Echo Server )
var udp = require('dgram');
// --------------------creating a udp server --------------------
// creating a udp server
var server = udp.createSocket('udp4');
// emits when any error occurs
server.on('error',function(error){
console.log('Error: ' + error);
@peiga
peiga / MumGay.c
Created October 9, 2022 18:48 — forked from waryas/MumGay.c
Use mumble_ol.dll to render on any 3D application.
// OverwolfEmulator.cpp : définit le point d'entrée pour l'application console.
//
#include "stdafx.h"
#include <Windows.h>
#include <stdint.h>
#define OVERLAY_MAGIC_NUMBER 0x00000005
struct OverlayMsgHeader {
@peiga
peiga / loaded_psp_drivers.cpp
Created September 18, 2022 07:51 — forked from jthuraisamy/loaded_psp_drivers.cpp
Loaded Security Product Drivers
#include <Windows.h>
#include <ImageHlp.h>
#include <strsafe.h>
#include "loaded_psp_drivers.h"
#include <set>
#include <string>
#include <algorithm>
#pragma comment(lib, "crypt32.lib")
@peiga
peiga / keybase.md
Created August 4, 2020 11:01
keybase.md

Keybase proof

I hereby claim:

  • I am peiga on github.
  • I am peiga (https://keybase.io/peiga) on keybase.
  • I have a public key ASC_pQp5krbt_SGSATDFmid_XChFI_5bVOkjcFY1SNsydwo

To claim this, I am signing this object: