How to install Hidden Services
-
sudo apt-get install tor
-
Edit _etc_tor/torrc
HiddenServiceDir /var/lib/tor/www_service/
HiddenServicePort 80 127.0.0.1:80
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
import json | |
import urllib.request | |
from datetime import datetime | |
import os | |
import isodate | |
" Don't try to be vi compatible | |
set nocompatible | |
" Helps force plugins to load correctly when it is turned back on below | |
filetype off | |
" TODO: Load plugins here (pathogen or vundle) | |
" Turn on syntax highlighting | |
syntax on |
#!/usr/bin/env python3 | |
from Crypto.Cipher import AES | |
import binascii | |
import argparse | |
parser = argparse.ArgumentParser(description='Test AES implem') | |
parser.add_argument('integers', metavar='aes_size', type=int, | |
help='Which AES mode (128/256)') |
var mul2 = [256]byte{ | |
0x00, 0x02, 0x04, 0x06, 0x08, 0x0a, 0x0c, 0x0e, 0x10, 0x12, 0x14, 0x16, 0x18, 0x1a, 0x1c, 0x1e, | |
0x20, 0x22, 0x24, 0x26, 0x28, 0x2a, 0x2c, 0x2e, 0x30, 0x32, 0x34, 0x36, 0x38, 0x3a, 0x3c, 0x3e, | |
0x40, 0x42, 0x44, 0x46, 0x48, 0x4a, 0x4c, 0x4e, 0x50, 0x52, 0x54, 0x56, 0x58, 0x5a, 0x5c, 0x5e, | |
0x60, 0x62, 0x64, 0x66, 0x68, 0x6a, 0x6c, 0x6e, 0x70, 0x72, 0x74, 0x76, 0x78, 0x7a, 0x7c, 0x7e, | |
0x80, 0x82, 0x84, 0x86, 0x88, 0x8a, 0x8c, 0x8e, 0x90, 0x92, 0x94, 0x96, 0x98, 0x9a, 0x9c, 0x9e, | |
0xa0, 0xa2, 0xa4, 0xa6, 0xa8, 0xaa, 0xac, 0xae, 0xb0, 0xb2, 0xb4, 0xb6, 0xb8, 0xba, 0xbc, 0xbe, | |
0xc0, 0xc2, 0xc4, 0xc6, 0xc8, 0xca, 0xcc, 0xce, 0xd0, 0xd2, 0xd4, 0xd6, 0xd8, 0xda, 0xdc, 0xde, | |
0xe0, 0xe2, 0xe4, 0xe6, 0xe8, 0xea, 0xec, 0xee, 0xf0, 0xf2, 0xf4, 0xf6, 0xf8, 0xfa, 0xfc, 0xfe, | |
0x1b, 0x19, 0x1f, 0x1d, 0x13, 0x11, 0x17, 0x15, 0x0b, 0x09, 0x0f, 0x0d, 0x03, 0x01, 0x07, 0x05, |
#!/bin/bash | |
#Name of your CTF. | |
#Do not use spaces in the name. | |
#This isn't the name people will see when they visit the site. | |
#You can change that later. | |
#If you're unsure, do not change this name. :) | |
CTF_NAME="ISSS CTF #1" | |
#Gonna need it. |
#!/bin/bash | |
#Name of your CTF. | |
#Do not use spaces in the name. | |
#This isn't the name people will see when they visit the site. | |
#You can change that later. | |
#If you're unsure, do not change this name. :) | |
CTF_NAME="CTFd" | |
#Gonna need it. |
def maxusers(locations, weights, m): | |
n = len(locations) - 1 | |
P = [0] * (n+1) | |
prev = [0] * (n+1) | |
P[0] = 0 | |
i = 1 | |
j = 2 | |
while(j <= n): |
# remap prefix from 'C-b' to 'C-a' | |
unbind C-b | |
set-option -g prefix C-a | |
bind-key C-a send-prefix | |
# split panes using | and - | |
bind | split-window -h | |
bind - split-window -v | |
unbind '"' | |
unbind % |
#include <iostream> | |
#include <vector> | |
#include <utility> | |
#include <functional> | |
#include <set> | |
#include <stack> | |
#include <queue> | |
using namespace std; | |
class CompareDist { |
sudo apt-get install tor
Edit _etc_tor/torrc
HiddenServiceDir /var/lib/tor/www_service/
HiddenServicePort 80 127.0.0.1:80