Skip to content

Instantly share code, notes, and snippets.

View bhrdn's full-sized avatar

bhrdn

View GitHub Profile
{
"mahasiswa": [
"nim",
"nama",
"alamat",
"ipk"
],
"matakuliah": [
"kode",
"nama",
from string import ascii_lowercase as u
import string
with open('secret.txt') as f:
datas = f.read().splitlines()
datas = {
'plain': datas[0],
'key': map(lambda x: -int(x), datas[1].split(','))
}
#!/usr/bin/python
(lambda _, __, ___, ____, _____, ______, _______, ________:
getattr(
__import__(True.__class__.__name__[_] + [].__class__.__name__[__]),
().__class__.__eq__.__class__.__name__[:__] +
().__iter__().__class__.__name__[_____:________]
)(
_, (lambda _, __, ___: _(_, __, ___))(
lambda _, __, ___:
from bs4 import BeautifulSoup as bs
import random, json, sys, re, requests as r
def send(payload):
s = r.Session()
datas = bs(s.get('http://challshl.com/').text, 'html.parser')
token = datas.find_all('input', {
'name' : 'cans_token'
})[0]['value']