Skip to content

Instantly share code, notes, and snippets.

@IngSystemCix
IngSystemCix / instalaciones-necesarias-para-curso-de-PHP.md
Created May 7, 2024 03:10
Instalaciones necesarias para curso de PHP
@byinarie
byinarie / RemComObf.sh
Created July 19, 2023 15:05 — forked from snovvcrash/RemComObf.sh
A simple RemComSvc obfuscation PoC (https://github.com/kavika13/RemCom)
#!/usr/bin/env bash
SEARCH="RemCom"
REPLACE=`cat /dev/urandom | tr -dc '[:alpha:]' | fold -w 8 | head -n 1`
git clone -q https://github.com/kavika13/RemCom RemComObf
find RemComObf -type f -exec sed -i -e "s/${SEARCH}/${REPLACE}/g" {} \;
sed -i "s/A service Cannot be started directly./Nothing's here.../g" RemComObf/RemComSvc/Service.cpp
@Juan-Embid
Juan-Embid / googe_dorks_cheatsheet.md
Last active May 7, 2024 03:16
A list of useful Google Dorks queries and explanations

Google-Dorks-Cheat-Sheet

A list of useful Google Dorks queries and explanations. Feel free to improve with your own payloads and techniques. Go ahead an make a pull request.

Documentation

Every section contains the following information:

  • A query description and how to exploit it, including several payloads
  • Pictures for the README.md
  • Other content referenced in the description
@pablotolentino
pablotolentino / Visual Studio 2022 Product Key
Created November 20, 2021 20:41
Visual Studio 2022 Enterprise Product key
Visual Studio 2022
Enterprise :
VHF9H-NXBBB-638P6-6JHCY-88JWH
Professional:
TD244-P4NB7-YQ6XK-Y8MMM-YWV2J
@ChenTanyi
ChenTanyi / config.json
Last active May 7, 2024 03:12
Simple script to use tun2socks in windows, route all packets into socks5 server
{
"log": {
"loglevel": "warning"
},
"inbounds": [
{
"listen": "0.0.0.0",
"port": 1080,
"protocol": "socks",
"settings": {
@tlehman
tlehman / trees.sml
Created October 5, 2013 00:03
trees.sml
(* binary trees are trees where each node has two children *)
datatype 'a Tree = empty
| leaf of 'a
| node of (('a Tree) * 'a * ('a Tree))
val t2 = node(node(leaf(2), 3, leaf(4)), 6, leaf(8))
fun breadth(empty) = 0
| breadth(leaf(_)) = 1
| breadth(node(left, _, right)) = breadth(left) + breadth(right)
//
// ContentView.swift
// MadeForYouCard
//
// Created by AppleDesignDev on 1/24/22.
//
import SwiftUI
struct ContentView: View {
@hallettj
hallettj / 1. xmodmap .f90
Last active May 7, 2024 03:04
I inverted the number row on my keyboard - meaning that pressing the keys produces symbols by default, and I type numbers by holding shift. As a programmer I use symbols frequently, so I think that this will be advantageous. Here are the details of my configuration.
!
! Invert number row
!
! This changes the behavior of keys in the number row, but does not
! affect the number pad.
!
keycode 10 = exclam 1 1 exclam
keycode 11 = at 2 2 at
keycode 12 = numbersign 3 3 numbersign
keycode 13 = dollar 4 4 dollar
@ara-ta3
ara-ta3 / main.go
Created August 31, 2017 10:11
How to bind to struct with join query in sqlx
package main
import (
"fmt"
_ "github.com/go-sql-driver/mysql"
"github.com/jmoiron/sqlx"
)
type Hoge struct {
@elowy01
elowy01 / BCFtools cheat sheet
Last active May 7, 2024 02:55
BCFtools cheat sheet
*bcftools filter
*Filter variants per region (in this example, print out only variants mapped to chr1 and chr2)
qbcftools filter -r1,2 ALL.chip.omni_broad_sanger_combined.20140818.snps.genotypes.hg38.vcf.gz
*printing out info for only 2 samples:
bcftools view -s NA20818,NA20819 filename.vcf.gz
*printing stats only for variants passing the filter:
bcftools view -f PASS filename.vcf.gz