Skip to content

Instantly share code, notes, and snippets.

@naasfu
naasfu / i-suck-at-pong-ism.js
Created September 24, 2016 17:31
ARCAD-ISM CHEAT
var email=email;
var points=100;
var token=token;
var hex_chr = "0123456789abcdef";
function rhex(num) {
str = "";
for (j = 0; j <= 3; j++) str += hex_chr.charAt((num >> (j * 8 + 4)) & 0x0F) + hex_chr.charAt((num >> (j * 8)) & 0x0F);
return str
@naasfu
naasfu / d3stryr-3stripes-atc-cs.php
Created October 18, 2016 06:28
Helper script for d3stryr-3stripes.php
<?php
set_time_limit(0);
$marketsList=[];
$marketsList['AT']='de_AT';
$marketsList['AU']='en_AU';
$marketsList['BE']='fr_BE';
$marketsList['BR']='pt_BR';
$marketsList['CA']='en_CA';
$marketsList['CL']='es_CL';
<html>
<head>
<meta charset="UTF-8">
<?php
$debug=False;
set_time_limit(0);
$actionURL="/d3stryr-3stripes-dev.php";
?>
<title>d3stryr 3stripes</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
@naasfu
naasfu / adidas-uk-login.py
Created December 17, 2016 07:40
Example Adidas UK Login
#!/usr/bin/env python
import requests
import re
import BeautifulSoup
email="[email protected]"
password="Destroyer3"
session=requests.Session()
@naasfu
naasfu / proxy-ubuntu-linux.sh
Created December 17, 2016 07:40
Script to setup squid3 with no authentication accepting all traffic (run as sudo)
#!/bin/bash
#
# Ubuntu 14 LTS
#
set -v
apt-get -y update
apt-get install -y ntpdate
@naasfu
naasfu / proxy-debian-linux.sh
Created December 17, 2016 07:40
Script to setup squid3 with no authentication accepting all traffic (run as sudo)
#!/bin/bash
#
# Debian
#
set -v
apt-get -y update
apt-get install -y ntpdate
@naasfu
naasfu / washed.py
Created December 17, 2016 10:47
///-washed
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import requests
import sys
import time
import os
import lxml.html
from lxml.cssselect import CSSSelector
<html>
<head>
<meta charset="UTF-8">
<?php $debug=False; set_time_limit(0); ?>
<title>d3stryr 3stripes</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script>
function setCookie(cname, cvalue, exdays) {
var d = new Date();
d.setTime(d.getTime() + (exdays*24*60*60*1000));
<html>
<head>
<meta charset="UTF-8">
<?php
$debug=False;
set_time_limit(0);
$actionURL="/d3stryr-3stripes.php";
?>
<title>d3stryr 3stripes</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
@naasfu
naasfu / copbookmarklet.js
Created April 9, 2017 11:24 — forked from schrobby/copbookmarklet.js
Works on kithnyc.com. Not sure about any other Shopify site.
(function() {
var size = 'YOUR SHOE SIZE HERE';
var subdomain = 'shop.',
path = '/cart/%ID%:%QUANTITY%';
var xhr = new XMLHttpRequest();
xhr.onreadystatechange = function() {
if (xhr.readyState == 4 && xhr.status == 200) {
var parsed = JSON.parse(xhr.responseText);