Skip to content

Instantly share code, notes, and snippets.

View vxcute's full-sized avatar
💻
programming

astro vxcute

💻
programming
  • Alexandria, Egypt
View GitHub Profile
package main
import "fmt"
func draw(w, h int) {
for i := 0; i < h; i++ {
if i % 2 == 0 {
#include <iostream>
int add(int x, int y){return x+y;}
int main()
{
int res = add(4,4);
return 0;
}
using System;
using PeNet.FileParser;
using PeNet;
using PeNet.Header;
namespace PEFun
{
class Program
{
static void Main(string[] args)
// client
using System;
using System.Collections.Generic;
using System.Linq;
using System.Collections;
using System.Text;
using System.Threading.Tasks;
using System.Net.Sockets;
// simple way to read a Binary File using modern c++
#include <iostream>
#include <vector>
#include <fstream>
#include <iterator>
template <typename T>
auto ReadBinFile(std::string FilePath) -> std::vector<T>
{
std::ifstream File(FilePath, std::ios::binary);
#include <stdio.h>
#include <stdnoreturn.h>
// https://godbolt.org/z/Pqv8YTPWc
int main(){
noreturn void 🤯(){printf("C Is Cool");} // noreturn means that function when called will never return and code after it won't be executed even when return statement is executed in it + nested functions are allowed
volatile const char * 🧠= "brain"; // works with clang
#include <stdio.h>
#include <stdbool.h>
#include <stdnoreturn.h>
// https://godbolt.org/z/W7jrMdMKG
int main()
{
int Can👧marry👦(int 👧age, int 👦age);
int 👧age, 👦age;
#pragma pack(push, 1)
typedef unsigned __int64 uint64;
typedef union
{
uint64 All;
struct
{
uint64 Ignored_0 : 3;
uint64 WriteThrough : 1;

Windows Kernel Learning: https://mirokaku.github.io/Blog/categories/Windows-kernel-learning/

Journey Into the Object Manager Executive Subsystem: Handles: https://ntamonsec.blogspot.com/2020/06/journey-into-object-manager-executive-handles.html

Random Windows Kernel Articles: https://codemachine.com/articles.html

Journey Into the Object Manager Executive Subsystem: Object Header and Object Type: https://ntamonsec.blogspot.com/2020/05/journey-into-object-manager-executive.html

Windows Exploitation Tricks (All Articles)