Crypton
basecrack
Crypton | basecrack | |
---|---|---|
1 | 6 | |
1,171 | 499 | |
- | - | |
0.0 | 3.7 | |
almost 3 years ago | 11 months ago | |
Python | Python | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Crypton
-
Cyber Apocalypse CTF 2022 Writeup - Down the Rabinhole
n = 56438641309774959123579452414864548345708278641778632906871133633348990457713200426806112132039095059800662176837023585166134224681069774331148738554157081531312104961252755406614635488382297434171375724135403083446853715913787796744272218693049072693460001363598351151832646947233969595478647666992523249343972394051106514947235445828889363124242280013397047951812688863313932909903047 e = 2 B = 263063435253385937926984981365320113271 c1= 429546912004731012886527767254149694574730322956287028161761007271362927652041138366004560890773167255588200792979452452 c2= 29903904396126887576044949247400308530425862142675118500848365445245957090320752747039056821346410855821626622960719507094119542088455732058232895757115241568569663893434035594991241152575495936972994239671806350060725033375704703416762794475486000391074743029264587481673930383986479738961452214727157980946 delta = (B + n) >> 1 c1 = (c1 + delta^2) % n c2 = (c2 + delta^2) % n # Source: https://github.com/ashutosh1206/Crypton/blob/master/RSA-encryption/Attack-Franklin-Reiter/exploit.sage def gcd(a, b): while b: a, b = b, a % b return a.monic() def franklinreiter(C1, C2, e, N, a, b): P. = PolynomialRing(Zmod(N)) g1 = (a*X + b)^e - C1 g2 = X^e - C2 result = -gcd(g1, g2).coefficients()[0] return result def int_to_bytes(x: int) -> bytes: return x.to_bytes((x.bit_length() + 7) // 8, 'big') bg = 0x272727272727272727272727272727272727272727272727272727272727272727272727272727 soln = franklinreiter(c2, c1, e, n, 1 << 312, bg + delta - (delta << 312)) - delta print(int_to_bytes(int(soln)))
basecrack
- Any cloud apps that allow api?
- Die große /r/de 777.777-Schnitzeljagd
-
basecrack VS python-codext - a user suggested alternative
2 projects | 6 Feb 20222 projects | 15 Jan 2022
-
Multi-layer base-encoded string
Nice one ! I couldn't solve it with Basecrack but I got it with CodExt...
-
Attention please read 500 Euro up for grabs in Bitcoin
When we see a string followed by == we assume that it is encoded, so we throw it through this tool and discover a link to another Ees video.
What are some alternatives?
CTFever - Fantastic toolkit for CTFers and everyone.
python-benedict - :blue_book: dict subclass with keylist/keypath support, built-in I/O operations (base64, csv, html, ini, json, pickle, plist, query-string, toml, xls, xml, yaml), s3 support and many utilities.
CTFNote - CTFNote is a collaborative tool aiming to help CTF teams to organise their work.
pwntools - CTF framework and exploit development library
CTFs - CTF Cheat Sheet + Writeups / Files for some of the Cyber CTFs that I've done
pwndbg - Exploit Development and Reverse Engineering with GDB Made Easy
featherduster - An automated, modular cryptanalysis tool; i.e., a Weapon of Math Destruction
Ciphey - ⚡ Automatically decrypt encryptions without knowing the key or cipher, decode encodings, and crack hashes ⚡
nsa-codebreaker-2020 - My solutions to the 2020 NSA Codebreaker Challenge
bips - Bitcoin Improvement Proposals
ctfcli - ctfcli is a tool to manage Capture The Flag events and challenges
python-codext - Python codecs extension featuring CLI tools for encoding/decoding anything