SUCRACK(1)

πŸ’– SUCRACK β€” the sucrack(1) page, bestie edition πŸ’–

okay so listen. this is the manual page for sucrack, a general commands manual situation, and it's literally a multithreaded Linux/UNIX tool for brute-force cracking of local user accounts via su. yes THAT su. i'm gonna walk you through every single flag because you deserve to know everything, no gatekeeping πŸ’…


✨ SYNOPSIS ✨

sucrack [options] wordlist

πŸ¦‹ DESCRIPTION πŸ¦‹

sucrack is a multithreaded Linux/UNIX brute-force cracking tool. what it does is it drives su(1), referencing one specific user, and it feeds words from a wordlist in as passwords. one word at a time, over and over, that's the whole vibe.

the cute part? running sucrack does not require high privileges on the target system. like, it's not out here needing root to even start. that's the tea β˜•


🌸 OPTIONS 🌸

so sucrack can read passwords from stdin. in that case, you use - instead of a filename as the wordlist parameter. iconic behaviour honestly.

common options:

  • -h β€” print the help message. the classic. the goat.
  • -a β€” use ansi escape codes so your statistics look pretty. (this needs the --enable-statistics configuration flag, so don't come for me if it's not vibing)
  • -s <seconds> β€” statistics display intervall. (again, needs the --enable-statistics configuration flag)
  • -c β€” only print statistics if a key other than q is pressed. so like, chill mode. you press something and THEN it tells you things.
  • -r β€” enable rewriting of dictionary words. (see rules below, they're fun)
  • -w <num> β€” number of threads to run with.
  • -b <size> β€” size of the word list buffer.
  • -u <user> β€” the user account to su to. this is kind of the whole point bestie.
  • -l <rules> β€” specify certain rules for the rewriting process.

πŸŽ€ rewriting rules πŸŽ€

these are the letters you can hand to -l and they transform your words. obsessed.

  • A β€” rewrite word with only upper case characters
  • F β€” rewrite word with first character as upper case
  • L β€” rewrite word with last character as upper case
  • a β€” rewrite word with only lower case characters
  • f β€” rewrite word with first character as lower case
  • l β€” rewrite word with last character as lower case
  • D β€” prepend each digit (0-9) to the word
  • d β€” append each digit (0-9) to the word
  • e β€” enleet the word
  • x β€” apply all rules to a word

🌈 ENVIRONMENT VARIABLES 🌈

SUCRACK_SU_PATH

the path to su (usually /bin/su or /usr/bin/su)

SUCRACK_AUTH_FAILURE

the message su returns on an authentication failure (like "su: Authentication failure" or "su: Sorry")

SUCRACK_AUTH_SUCCESS

the message that indicates an authentication success. heads up: this message must not be a password listed in the wordlist. (the default is "SUCRACK_SUCCESS")


πŸ‘‘ AUTHOR πŸ‘‘

Nico Leidecker <nfl@portcullis-security.com>

http://www.leidecker.info


πŸ’œ SEE ALSO πŸ’œ

su(1)


and that's the whole page bestie, go be safe and ethical out there, this is a security tool and i trust you with it 🫢

okay that's a wrap!! this was Version 1.2.3 of the SUCRACK(1) page, thanks for reading the whole thing you absolute icon πŸŽ€βœ¨πŸ’–