Challenge Description:
Shamir would be very angry if he found out what I've done with his algorithm.
yes lol
so i checked the cipher file and got n e and c
e was 65537 and the modulus n had a small factor
i factored n and found
text
n = 67 * q
with p = 67 i computed $\phi(n) = (p - 1)(q - 1)$
then i computed the private exponent d as the inverse of e mod $\phi(n)$
then i decrypted with $m = c^d \bmod n$
the plaintext was
Flag
dalctf{sm4ll_f4ct0rs_4r3_d4ng3r0us_1n_rs4}