This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Data Segment | |
.data | |
input: .asciiz "Input numbers\n" | |
msg_a: .asciiz "a: " | |
msg_b: .asciiz "b: " | |
vline: .asciiz "|" | |
minus: .asciiz "-" | |
plus: .asciiz "+" | |
index: .asciiz "a\b" | |
space: .asciiz " " |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
import time | |
url = "https://2015.legitbs.net/scoreboard#" | |
cur = "" | |
html = requests.get(url).text | |
tmp = html.split('\n') | |
for c in tmp: | |
if "class='locked'" in c: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget --tries=inf --timestamping --recursive --level=inf --convert-links --page-requisites "http://cplusplus.com/reference" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget --tries=inf --timestamping --recursive --level=inf --convert-links --page-requisites "http://cplusplus.com/reference" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget --tries=inf --timestamping --recursive --level=inf --convert-links --page-requisites "http://cplusplus.com/reference" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM debian:jessie | |
ENV DEBIAN_FRONTEND noninteractive | |
RUN apt-get update && apt-get -y upgrade && apt-get install -y apt-utils curl vim | |
# nodejs, npm | |
RUN curl -sL https://deb.nodesource.com/setup_5.x | bash - | |
RUN apt-get install -y nodejs | |
# git | |
RUN apt-get install -y git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$HOME/tools/... # path to bin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat access_* | gawk -v FPAT='(\"[^\"]+\")' '{print $3}' | cut -d"(" -f2- | cut -d")" -f1 | sort | uniq -c | sort -gr | less |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-----BEGIN PGP PUBLIC KEY BLOCK----- | |
Comment: GPGTools - https://gpgtools.org | |
mQINBFZCFtQBEACeUh+jIMd5NIcWXy9iUkaa8FnTarJuKW/uk+LaufZclbpVYAtk | |
463WZAFdUB2aa5KYcBW3iAMNAV5Jy65W8xXbiqr/4RGYEcnwhPmjJvQqbQo2MEVV | |
cDGNg8mTfSm2GNhyNUFFpKs1SRNFYa9wJchgIpGBmmxfAHNYN1Aoakrf9CESP3O4 | |
zu2/JM6OzpqUC2r3RRfaHCjLOAgDiDgeYIW6uC1LFURyClzwNwQNHVX4eMdFDn5X | |
3N4CvoVfGBSqNfTUjoqXpW+SQ74Ie2goMsclNyfvYRSeOs39q/WT0+kVvTsszs+X | |
nQ3zedHKzyIpCWC0sw3k/w4rp0ghBFhCm74CfBvc4eTplmgQLaNhPzKR/dke22G0 | |
U4IAY1+Aj35ZssXqwW/yRTbigixWD1s4vyyv5FasdccxFVYIgfZtN/Uu2gIDf+9d |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
from pwn import * | |
context(os='linux', arch='i386') | |
# context.log_level = 'debug' | |
HOST = "segsh.bostonkey.party" | |
PORT = 8888 | |
conn = None |
OlderNewer