cnetz_sim(1)

πŸ“¦ version 0.0~git20251206.0c72677, in debian trixie, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– NAME πŸ’–

cnetz_sim β€” bestie, this is the SIM card sim/sniffer situation, and the whole point of it is right here: http://osmocom-analog.eversberg.eu/docs/ ✨

It's a General Commands Manual page, which is giving very much "read me before you poke at your SIM" energy πŸŽ€


✨ SYNOPSIS ✨

cnetz_sim [options] <command>

okay so it's cnetz_sim, then some options, then a command. That's the whole vibe check πŸ¦‹


🌸 General options 🌸

  • -h, --help β€” this help, literally just the help πŸ’…
  • --config [~/]<path to config file> β€” hand it a config file to use 🫢 If it starts with ~/, the path lives in your home dir. Each line in the config file is one option, and ngl you must NOT put - or -- in there!
  • -v, --verbose <level> | <level>,<category>[,<category>[,...]] | list β€” the verbose dial 🎚️ Use list to get a list of all levels and categories. Verbose level: a digit for the debug level (default = 3). Verbose level+category: level digit followed by one or more categories β†’ if no category is specified, all categories are selected πŸ‘‘
  • -v, --verbose date β€” show the date with debug output πŸ“…
  • -s, --serial-device <device> β€” the serial device (default = /dev/ttyUSB0) πŸ”Œ
  • -b, --baud-rate <baud> β€” serial baud rate (default = 9600) ⚑
  • -w, --write-pdu <filename> β€” write PDU to file, sniffer only πŸ•΅οΈβ™€οΈ

πŸŽ€ SIM card simulator options πŸŽ€

  • -E, --eeprom <name> β€” stores and reads EEPROM data to/from a file πŸ“ The file is stored at "~/osmocom/analog/sim_<name>.eeprom". If the file dos not exit yet, the default values are used. Values are always overwritten with card data, if defined. (yes, "dos not exit" β€” we keep it exactly as it is, no cap πŸ’€)
  • -F, --futln <phone number> β€” give 7 digits subscriber ID (default = 2222001) ☎️
  • --sicherung <security code> β€” card's security code for simple authentication (default = 3103) πŸ”
  • --kartenkennung <card ID> β€” card's ID. Not relevant! (default = 3) πŸ™ˆ
  • --sonder <special code> β€” special codes are used for service cards (default = 0) 🌈
  • --wartung <maitenance code> β€” may define features of service cards (default = 65535) πŸ› οΈ
  • -P, --pin <pin> | 0000 β€” give 4 .. 8 digits of pin 🫢 Use 0000 to disable. (default = 0000) This will also reset the PIN error counter and unlocks the card πŸ”“
  • -D, --directory <location> <number> <name> [--directory ...] β€” give storage location 01 .. 80 πŸ“‡ To erase, give "" as number and name. This option can be given multiple times for more entries ✨
  • -A, --authenticate 0x... β€” give 64 Bit value for authentication response. (default = all bits 1) πŸ”₯

πŸ‘‘ Commands are: πŸ‘‘

  • sniff β€” to passively sniff SIM card communication πŸ•΅οΈβ™€οΈ
  • sim β€” to simulate a SIM card 🎭

Not me dropping a whole error blob in here 😭 bestie this is literally on the page, so here it is, character for character:
[0;33m[1;31mDOPTIONS[0;m[0;33m [1;31mERROR[0;m[0;33m options.c:302 Given command line option '--version' is not a valid option, use '-h' for help![0;m

🌟 SEE ALSO 🌟

The full documentation for [0;33m[1;32mDOPTIONS[0;m[0;33m is maintained as a Texinfo manual. If the info and [0;33m[1;32mDOPTIONS[0;m[0;33m programs are properly installed at your site, the command

info [0;33m[1;32mDOPTIONS[0;m[0;33m

should give you access to the complete manual πŸ“–


and that's the whole page, bestie β€” signed, sealed, and it's giving cnetz_sim(1) πŸ’–βœ¨ slay, go read your Texinfo manual, periodt πŸŽ€πŸ¦‹