Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion access-control/run
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/pwn.college/python
#!/usr/bin/exec-suid -- /usr/bin/python3 -I

import os
import pathlib
Expand Down
2 changes: 1 addition & 1 deletion cryptography/aes-cbc-corrupt-resize/dispatcher
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/pwn.college/python
#!/usr/bin/exec-suid -- /usr/bin/python3 -I

import os

Expand Down
2 changes: 1 addition & 1 deletion cryptography/aes-cbc-corrupt-resize/worker
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/pwn.college/python
#!/usr/bin/exec-suid -- /usr/bin/python3 -I

from Crypto.Cipher import AES
from Crypto.Util.Padding import unpad
Expand Down
2 changes: 1 addition & 1 deletion cryptography/aes-cbc-corrupt/dispatcher
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/pwn.college/python
#!/usr/bin/exec-suid -- /usr/bin/python3 -I

import os

Expand Down
2 changes: 1 addition & 1 deletion cryptography/aes-cbc-corrupt/worker
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/pwn.college/python
#!/usr/bin/exec-suid -- /usr/bin/python3 -I

from Crypto.Cipher import AES
from Crypto.Util.Padding import unpad
Expand Down
2 changes: 1 addition & 1 deletion cryptography/aes-cbc-poa-enc-nodispatch/worker
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/pwn.college/python
#!/usr/bin/exec-suid -- /usr/bin/python3 -I

from Crypto.Cipher import AES
from Crypto.Util.Padding import unpad
Expand Down
2 changes: 1 addition & 1 deletion cryptography/aes-cbc-poa-enc/dispatcher
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/pwn.college/python
#!/usr/bin/exec-suid -- /usr/bin/python3 -I

import os

Expand Down
2 changes: 1 addition & 1 deletion cryptography/aes-cbc-poa-enc/worker
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/pwn.college/python
#!/usr/bin/exec-suid -- /usr/bin/python3 -I

from Crypto.Cipher import AES
from Crypto.Util.Padding import unpad
Expand Down
2 changes: 1 addition & 1 deletion cryptography/aes-cbc-poa-fullblock/dispatcher
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/pwn.college/python
#!/usr/bin/exec-suid -- /usr/bin/python3 -I

from Crypto.Cipher import AES
from Crypto.Util.Padding import pad
Expand Down
2 changes: 1 addition & 1 deletion cryptography/aes-cbc-poa-fullblock/redeem
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/pwn.college/python
#!/usr/bin/exec-suid -- /usr/bin/python3 -I

if input("Password? ").strip() == open("/challenge/.pw").read().strip():
print("Victory! Your flag:")
Expand Down
2 changes: 1 addition & 1 deletion cryptography/aes-cbc-poa-fullblock/worker
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/pwn.college/python
#!/usr/bin/exec-suid -- /usr/bin/python3 -I

from Crypto.Cipher import AES
from Crypto.Util.Padding import unpad
Expand Down
2 changes: 1 addition & 1 deletion cryptography/aes-cbc-poa-singleblock/dispatcher
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/pwn.college/python
#!/usr/bin/exec-suid -- /usr/bin/python3 -I

from Crypto.Cipher import AES
from Crypto.Util.Padding import pad
Expand Down
2 changes: 1 addition & 1 deletion cryptography/aes-cbc-poa-singleblock/redeem
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/pwn.college/python
#!/usr/bin/exec-suid -- /usr/bin/python3 -I

if input("Password? ").strip() == open("/challenge/.pw").read().strip():
print("Victory! Your flag:")
Expand Down
2 changes: 1 addition & 1 deletion cryptography/aes-cbc-poa-singleblock/worker
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/pwn.college/python
#!/usr/bin/exec-suid -- /usr/bin/python3 -I

from Crypto.Cipher import AES
from Crypto.Util.Padding import unpad
Expand Down
2 changes: 1 addition & 1 deletion cryptography/aes-cbc-poa/dispatcher
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/pwn.college/python
#!/usr/bin/exec-suid -- /usr/bin/python3 -I

from Crypto.Cipher import AES
from Crypto.Util.Padding import pad
Expand Down
2 changes: 1 addition & 1 deletion cryptography/aes-cbc-poa/worker
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/pwn.college/python
#!/usr/bin/exec-suid -- /usr/bin/python3 -I

from Crypto.Cipher import AES
from Crypto.Util.Padding import unpad
Expand Down
2 changes: 1 addition & 1 deletion cryptography/aes-cbc/run
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/pwn.college/python
#!/usr/bin/exec-suid -- /usr/bin/python3 -I

from Crypto.Cipher import AES
from Crypto.Util.Padding import pad
Expand Down
2 changes: 1 addition & 1 deletion cryptography/ascii/run
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/pwn.college/python
#!/usr/bin/exec-suid -- /usr/bin/python3 -I

import random
import string
Expand Down
2 changes: 1 addition & 1 deletion cryptography/cpa-http-boss/run
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/pwn.college/python
#!/usr/bin/exec-suid -- /usr/bin/python3 -I

from base64 import b64encode
from Crypto.Cipher import AES
Expand Down
2 changes: 1 addition & 1 deletion cryptography/cpa-http-hex/run
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/pwn.college/python
#!/usr/bin/exec-suid -- /usr/bin/python3 -I

from Crypto.Cipher import AES
from Crypto.Util.Padding import pad
Expand Down
2 changes: 1 addition & 1 deletion cryptography/cpa-http/run
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/pwn.college/python
#!/usr/bin/exec-suid -- /usr/bin/python3 -I

from base64 import b64encode, b64decode
from Crypto.Cipher import AES
Expand Down
2 changes: 1 addition & 1 deletion cryptography/cpa-prefix-pad/run
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/pwn.college/python
#!/usr/bin/exec-suid -- /usr/bin/python3 -I

from Crypto.Cipher import AES
from Crypto.Util.Padding import pad
Expand Down
2 changes: 1 addition & 1 deletion cryptography/cpa-prefix/run
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/pwn.college/python
#!/usr/bin/exec-suid -- /usr/bin/python3 -I

from Crypto.Cipher import AES
from Crypto.Util.Padding import pad
Expand Down
2 changes: 1 addition & 1 deletion cryptography/cpa-suffix/run
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/pwn.college/python
#!/usr/bin/exec-suid -- /usr/bin/python3 -I

from Crypto.Cipher import AES
from Crypto.Util.Padding import pad
Expand Down
2 changes: 1 addition & 1 deletion cryptography/cpa/run
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/pwn.college/python
#!/usr/bin/exec-suid -- /usr/bin/python3 -I

from Crypto.Cipher import AES
from Crypto.Util.Padding import pad
Expand Down
2 changes: 1 addition & 1 deletion cryptography/dhke-aes/run
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/pwn.college/python
#!/usr/bin/exec-suid -- /usr/bin/python3 -I

import sys
from Crypto.Cipher import AES
Expand Down
2 changes: 1 addition & 1 deletion cryptography/hex/run
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/pwn.college/python
#!/usr/bin/exec-suid -- /usr/bin/python3 -I

import random
import sys
Expand Down
2 changes: 1 addition & 1 deletion cryptography/level-2/run
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/pwn.college/python
#!/usr/bin/exec-suid -- /usr/bin/python3 -I

from Crypto.Random import get_random_bytes
from Crypto.Util.strxor import strxor
Expand Down
2 changes: 1 addition & 1 deletion cryptography/level-3/run
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/pwn.college/python
#!/usr/bin/exec-suid -- /usr/bin/python3 -I

from Crypto.Random import get_random_bytes
from Crypto.Util.strxor import strxor
Expand Down
2 changes: 1 addition & 1 deletion cryptography/level-4/run
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/pwn.college/python
#!/usr/bin/exec-suid -- /usr/bin/python3 -I

from Crypto.Cipher import AES
from Crypto.Util.Padding import pad
Expand Down
2 changes: 1 addition & 1 deletion cryptography/level-5/run
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/pwn.college/python
#!/usr/bin/exec-suid -- /usr/bin/python3 -I

from Crypto.Cipher import AES
from Crypto.Util.Padding import pad
Expand Down
2 changes: 1 addition & 1 deletion cryptography/level-6/run
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/pwn.college/python
#!/usr/bin/exec-suid -- /usr/bin/python3 -I

import sys
from Crypto.Random.random import getrandbits
Expand Down
2 changes: 1 addition & 1 deletion cryptography/level-7/run
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/pwn.college/python
#!/usr/bin/exec-suid -- /usr/bin/python3 -I

from Crypto.PublicKey import RSA

Expand Down
2 changes: 1 addition & 1 deletion cryptography/level-8/run
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/pwn.college/python
#!/usr/bin/exec-suid -- /usr/bin/python3 -I

from Crypto.PublicKey import RSA

Expand Down
2 changes: 1 addition & 1 deletion cryptography/level-9/run
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/pwn.college/python
#!/usr/bin/exec-suid -- /usr/bin/python3 -I

import hashlib

Expand Down
2 changes: 1 addition & 1 deletion cryptography/otp-tamper/dispatcher
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/pwn.college/python
#!/usr/bin/exec-suid -- /usr/bin/python3 -I

from Crypto.Util.strxor import strxor

Expand Down
2 changes: 1 addition & 1 deletion cryptography/otp-tamper/worker
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/pwn.college/python
#!/usr/bin/exec-suid -- /usr/bin/python3 -I

from Crypto.Util.strxor import strxor

Expand Down
2 changes: 1 addition & 1 deletion cryptography/rsa-sig/dispatcher
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/pwn.college/python
#!/usr/bin/exec-suid -- /usr/bin/python3 -I

import sys

Expand Down
2 changes: 1 addition & 1 deletion cryptography/rsa-sig/worker
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/pwn.college/python
#!/usr/bin/exec-suid -- /usr/bin/python3 -I

import sys

Expand Down
2 changes: 1 addition & 1 deletion cryptography/run
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/pwn.college/python
#!/usr/bin/exec-suid -- /usr/bin/python3 -I

import sys
import string
Expand Down
2 changes: 1 addition & 1 deletion cryptography/strxor/run
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/pwn.college/python
#!/usr/bin/exec-suid -- /usr/bin/python3 -I

import random
import string
Expand Down
2 changes: 1 addition & 1 deletion cryptography/xor/run
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/pwn.college/python
#!/usr/bin/exec-suid -- /usr/bin/python3 -I

import random
import sys
Expand Down
2 changes: 1 addition & 1 deletion integrated-security/decrypt-overflow-ecb-w/_0/dispatch
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/pwn.college/python
#!/usr/bin/exec-suid -- /usr/bin/python3 -I

import Crypto
import struct
Expand Down
2 changes: 1 addition & 1 deletion integrated-security/decrypt-overflow-ecb-w/_1/dispatch
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/pwn.college/python
#!/usr/bin/exec-suid -- /usr/bin/python3 -I

import Crypto
import struct
Expand Down
2 changes: 1 addition & 1 deletion integrated-security/decrypt-overflow-ecb-w/_10/dispatch
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/pwn.college/python
#!/usr/bin/exec-suid -- /usr/bin/python3 -I

import Crypto
import struct
Expand Down
2 changes: 1 addition & 1 deletion integrated-security/decrypt-overflow-ecb-w/_11/dispatch
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/pwn.college/python
#!/usr/bin/exec-suid -- /usr/bin/python3 -I

import Crypto
import struct
Expand Down
2 changes: 1 addition & 1 deletion integrated-security/decrypt-overflow-ecb-w/_12/dispatch
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/pwn.college/python
#!/usr/bin/exec-suid -- /usr/bin/python3 -I

import Crypto
import struct
Expand Down
2 changes: 1 addition & 1 deletion integrated-security/decrypt-overflow-ecb-w/_13/dispatch
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/pwn.college/python
#!/usr/bin/exec-suid -- /usr/bin/python3 -I

import Crypto
import struct
Expand Down
2 changes: 1 addition & 1 deletion integrated-security/decrypt-overflow-ecb-w/_14/dispatch
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/pwn.college/python
#!/usr/bin/exec-suid -- /usr/bin/python3 -I

import Crypto
import struct
Expand Down
2 changes: 1 addition & 1 deletion integrated-security/decrypt-overflow-ecb-w/_15/dispatch
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/pwn.college/python
#!/usr/bin/exec-suid -- /usr/bin/python3 -I

import Crypto
import struct
Expand Down
2 changes: 1 addition & 1 deletion integrated-security/decrypt-overflow-ecb-w/_2/dispatch
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/pwn.college/python
#!/usr/bin/exec-suid -- /usr/bin/python3 -I

import Crypto
import struct
Expand Down
2 changes: 1 addition & 1 deletion integrated-security/decrypt-overflow-ecb-w/_3/dispatch
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/pwn.college/python
#!/usr/bin/exec-suid -- /usr/bin/python3 -I

import Crypto
import struct
Expand Down
2 changes: 1 addition & 1 deletion integrated-security/decrypt-overflow-ecb-w/_4/dispatch
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/pwn.college/python
#!/usr/bin/exec-suid -- /usr/bin/python3 -I

import Crypto
import struct
Expand Down
2 changes: 1 addition & 1 deletion integrated-security/decrypt-overflow-ecb-w/_5/dispatch
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/pwn.college/python
#!/usr/bin/exec-suid -- /usr/bin/python3 -I

import Crypto
import struct
Expand Down
2 changes: 1 addition & 1 deletion integrated-security/decrypt-overflow-ecb-w/_6/dispatch
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/pwn.college/python
#!/usr/bin/exec-suid -- /usr/bin/python3 -I

import Crypto
import struct
Expand Down
2 changes: 1 addition & 1 deletion integrated-security/decrypt-overflow-ecb-w/_7/dispatch
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/pwn.college/python
#!/usr/bin/exec-suid -- /usr/bin/python3 -I

import Crypto
import struct
Expand Down
2 changes: 1 addition & 1 deletion integrated-security/decrypt-overflow-ecb-w/_8/dispatch
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/pwn.college/python
#!/usr/bin/exec-suid -- /usr/bin/python3 -I

import Crypto
import struct
Expand Down
2 changes: 1 addition & 1 deletion integrated-security/decrypt-overflow-ecb-w/_9/dispatch
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/pwn.college/python
#!/usr/bin/exec-suid -- /usr/bin/python3 -I

import Crypto
import struct
Expand Down
2 changes: 1 addition & 1 deletion integrated-security/decrypt-overflow-ecb/_0/dispatch
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/pwn.college/python
#!/usr/bin/exec-suid -- /usr/bin/python3 -I

import Crypto
import struct
Expand Down
2 changes: 1 addition & 1 deletion integrated-security/decrypt-overflow-ecb/_1/dispatch
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/pwn.college/python
#!/usr/bin/exec-suid -- /usr/bin/python3 -I

import Crypto
import struct
Expand Down
2 changes: 1 addition & 1 deletion integrated-security/decrypt-overflow-ecb/_10/dispatch
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/pwn.college/python
#!/usr/bin/exec-suid -- /usr/bin/python3 -I

import Crypto
import struct
Expand Down
2 changes: 1 addition & 1 deletion integrated-security/decrypt-overflow-ecb/_11/dispatch
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/pwn.college/python
#!/usr/bin/exec-suid -- /usr/bin/python3 -I

import Crypto
import struct
Expand Down
2 changes: 1 addition & 1 deletion integrated-security/decrypt-overflow-ecb/_12/dispatch
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/pwn.college/python
#!/usr/bin/exec-suid -- /usr/bin/python3 -I

import Crypto
import struct
Expand Down
2 changes: 1 addition & 1 deletion integrated-security/decrypt-overflow-ecb/_13/dispatch
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/pwn.college/python
#!/usr/bin/exec-suid -- /usr/bin/python3 -I

import Crypto
import struct
Expand Down
2 changes: 1 addition & 1 deletion integrated-security/decrypt-overflow-ecb/_14/dispatch
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/pwn.college/python
#!/usr/bin/exec-suid -- /usr/bin/python3 -I

import Crypto
import struct
Expand Down
2 changes: 1 addition & 1 deletion integrated-security/decrypt-overflow-ecb/_15/dispatch
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/opt/pwn.college/python
#!/usr/bin/exec-suid -- /usr/bin/python3 -I

import Crypto
import struct
Expand Down
Loading