Skip to content

Instantly share code, notes, and snippets.

@bedekelly
Last active August 29, 2015 14:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bedekelly/6858fab92ed8d14a868a to your computer and use it in GitHub Desktop.
Save bedekelly/6858fab92ed8d14a868a to your computer and use it in GitHub Desktop.
Hacking Team `./rcs-core.rb -h` output after build
Usage: rcs-core [options]
Core listing:
-l, --list get the list of cores
Core selection:
-n, --name NAME identify the core by it's name
Core operations:
-g, --get FILE get the core from the db and store it in FILE
-R, --replace CORE replace the core in the db (CORE must be a zip file)
-a, --add FILE add or replace FILE to the core on the db
-A, --addwithname FILE specify the core's name on the db
-r, --remove FILE remove FILE from the core on the db
-s, --show show the content of a core
-D, --delete delete the core from the db
Core building:
-f, --factory IDENT factory to be used
-S, --show-conf show the config of the factory
-j, --json JSON_FILE save the config json in a file
-b, --build PARAMS_FILE build the factory. PARAMS_FILE is a json file with the parameters
-c, --config CONFIG_FILE save the config to the specified factory
-C, --cert FILE certificate for the signing phase
-i, --input FILE the input file for the melting phase of the build
-o, --output FILE the output of the build
Account:
-u, --user USERNAME rcs-db username (SYS priv required)
-p, --password PASSWORD rcs-db password
-d, --db-address HOSTNAME Use the rcs-db at HOSTNAME
-P, --db-port PORT Connect to tcp/PORT on rcs-db
General:
-h, --help Display this screen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment