Skip to main content

Collection of CTF tools (WIP)

Project description

SealTeamTools

Intro and motivation

When I started CTFing on the reg, I quickly saw the potential of automating certain tasks that arise in many, many CTFs. It might be something as dump as opening a connection to some remote server and sending/receiving data. Or quickly converting from one format to another without having to rewrite the code every time. Another example was RSA, I wrote a small wrapper script that quickly gets me a plaintext for a given c, q,p and e.

At this point the main question that will arise is, why not use pwntools? Well, it turns out that pwntools doesn't really play well with Windows. I love my Kali as much as the next guy for a variety of tasks but I also love my Win10. So I set off to slowly recreate some of the more popular functions. Fact is, the really complex functions of pwntools are not something you encounter often which means a light version fits my purposes.

Now, my motto is Go Big or Go Home. So I decided to build a comprehensive framework for CTFing and general pentesting that covers the most frequent topics: Crypto, Web, Forensics and some misc. I do most of my reversing in IDA/gdb so that category won't be represented much, I think. Additionally I have a general and socket category, the latter to make socket interaction smoother (e.g. I struggled time and again with socket blocking, it would freeze when trying to receive data when none was available), the former aiming to perform helper tasks like transposing arrays, recognizing patterns etc.

I will use this as my MCH (Main Control Hub) for progress and as time progresses, and is permitting, build an orchestrator to bring all partial scripts under one "roof".

24.9: Rearranged file structure. Now all modules will be organized using "STTxxx.filename" where xxx is the overall structure. Makes it easier to import stuff as well.

Structure

1. General

  • Pattern recognition
    • Base64 --> STTUtils.StringParser
    • Base32 --> STTUtils.StringParser
    • Hex --> STTUtils.StringParser
    • flags --> STTUtils.StringParser
    • Words
  • Encodings
    • all bases
    • rot13
  • Socket --> STTSocket.STTSocket
    • recvline
    • recvlines
    • recvutil
    • sendline

3. Crypto

  • AES
    • CBC
    • ECB
  • RSA
    • Factorisation
    • Common modulus
    • Fault
    • Coppersmith
    • General solve --> STTCrypto.RSASolver
  • ECC
  • DES
  • Common ciphers
    • Caesar
    • Railcipher
    • Vigenere
  • Morse --> STTCrypto.morse

4. Web

  • Flask
  • Nodejs
    • Handlebar
  • XSS
  • WAF Bypass

5. Forensics

  • Images
    • LSB
    • MSB
    • exiftool
    • XOR
  • Audio

6. Misc

  • Pyjails
  • Bashjails
  • Esolangs
  • Embedded files
    • binwalk
  • Memdumps
    • Vola
  • OCR
  • QR --> STTUtils.utils
  • Packing --> STTUtils.packing

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

SealTeamTools-0.0.1.tar.gz (11.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

SealTeamTools-0.0.1-py2-none-any.whl (16.1 kB view details)

Uploaded Python 2

File details

Details for the file SealTeamTools-0.0.1.tar.gz.

File metadata

  • Download URL: SealTeamTools-0.0.1.tar.gz
  • Upload date:
  • Size: 11.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/2.7.16

File hashes

Hashes for SealTeamTools-0.0.1.tar.gz
Algorithm Hash digest
SHA256 45e9da8efa14c082c44191bfa5d617e747501fc05e1dff9fc43ac1ab6efec1ca
MD5 661ef8054c15dd829031314538047770
BLAKE2b-256 0fd3bdc26e9a2869e6bcb323a5949208dfd9c975cff89499f18e33b22628bdba

See more details on using hashes here.

File details

Details for the file SealTeamTools-0.0.1-py2-none-any.whl.

File metadata

  • Download URL: SealTeamTools-0.0.1-py2-none-any.whl
  • Upload date:
  • Size: 16.1 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/2.7.16

File hashes

Hashes for SealTeamTools-0.0.1-py2-none-any.whl
Algorithm Hash digest
SHA256 d271a09e693501cb5a544314f0d70f2b1677900b33af1c65d260f922b55ab6dd
MD5 05bece3bccf46e735a4cc4fecb2f14fa
BLAKE2b-256 7985bcfc9f5007308f60b6e8e3cc9307d08739d497c4969e5bcf57d7bc6eb893

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page