Skip to content

Instantly share code, notes, and snippets.

@buroz
buroz / createName.js
Last active August 29, 2020 13:12
Vizyonsuz türk e-ticaret domain'i yaratma scripti
const names = [
"cumhuriyeti",
"cehennemi",
"selalesi",
"evi",
"magazasi",
"shop",
"kasa",
"dunyasi",
"cenneti",
@buroz
buroz / hail.html
Last active July 12, 2021 09:24
HAIL INFERNALS (Spinner)
<html>
<head>
<title>
HAIL INFERNALS
</title>
<style type="text/css">
body {
display: flex;
justify-content: center;
align-items: center;
@buroz
buroz / main.go
Created June 10, 2020 13:11
Steganography in Golang
package main
import (
"bufio"
"bytes"
"fmt"
"image/jpeg"
"image/png"
"log"
"os"
@buroz
buroz / main.go
Created June 9, 2020 20:48 — forked from treywelsh/main.go
golang dynamic xml unmarshalling mixed with fixed tags
package main
import (
"encoding/xml"
"fmt"
pkg "xml_unparsed/xmlmap"
//pkg "xml_unparsed/xmlslice"
)
@buroz
buroz / udp_server.go
Created June 2, 2020 21:03
UDP Server with Golang
package udp_server
import (
"errors"
"log"
"net"
)
type UDPServer struct {
Addr string
@buroz
buroz / main.go
Last active March 2, 2025 20:32
Golang SOAP Request Example
package main
import (
"bytes"
"crypto/tls"
"encoding/xml"
"fmt"
"io/ioutil"
"net/http"
"strings"
@buroz
buroz / validator.ts
Last active May 5, 2020 11:30
Credit Card Regex
enum CreditCardType {
VISA = "visa",
MASTERCARD = "mastercard",
DISCOVER = "discover",
AMERICANEXPRESS = "american-express",
DINERSCLUB = "diners-club",
JCB = "jcb",
TROY = "troy"
}
const dgram = require("dgram");
const EventEmitter = require("events");
let server;
let status = false;
class SyslogServer extends EventEmitter {
constructor() {
super();
}
@buroz
buroz / UnirestAsPromise.ts
Created October 4, 2019 10:10 — forked from dploeger/UnirestAsPromise.ts
Unirest as Promise (Typescript)
import Bluebird = require('bluebird');
import {UnirestError} from './UnirestError';
/**
* A tool for converting a unirest object into a promise
* @param unirest The unirest instance
* @returns {Bluebird<any>}
*/
export function unirestAsPromise(unirest: any): Bluebird<any> {
return new Bluebird(
@buroz
buroz / csrf.ts
Last active September 27, 2019 13:50
CSRF checker on memory with Typescript
import crypto from "crypto";
class CSRF {
private store: string[] = [];
constructor() {}
createToken() {
const token = crypto.randomBytes(64).toString("hex");
this.store.push(token);