RSALib

RSAShell

class rsashell.RSACmd(completekey='tab', stdin=None, stdout=None)

Bases: cmd.Cmd

Main shell class

do_EOF(inp)

Exits

do_decrypt(inp)

Decrypt

do_e(inp)

Exits

do_encrypt(inp)

Encrypts message with key

do_exec(inp)

Executes a single command in python (non persistant)

do_exit(inp)

Exits

do_keygen(inp)

Generates keys

do_pyshell(inp)

Spawns a python shell

do_q(inp)

Exits

do_run(inp)

Run a shell command

do_shell(inp)

Spawns a shell

do_x(inp)

Exits

prompt = 'rsa>'
rsashell.recloop(dens=- 1)

Runs the shell over and over again