Martin Atkins (mart) wrote in lj_clients,
Martin Atkins

ljsh: Interactive shell for access to a LiveJournal admin console


This program will provide you with a shell from which LiveJournal admin console commands can be executed.

At minumum you must specify the user to connect as. With no other options, the program will prompt for a password and then connect to port 80 of and attempt to authenticate with the login protocol mode before giving a prompt from which admin console commands can be executed.

A command and its arguments can be given on the command line to make ljsh run in non-interactive mode and just execute that one command, output the result and exit.

ljsh [options] user[@server] [command [args]]
   --port=number     choose the port number to connect on (default 80)
   --interface=path  path to the protocol interface (default /interface/flat)
   --password=string password to use to authenticate
The port number to connect on. The default is the standard HTTP port, port 80.
The path to the protocol interface. The default is the standard flat handler, at /interface/flat.
The password to use for authentication with the LiveJournal server. Normally this will be prompted for, but you can use this if running ljsh from a script or other non-interactive environment and are specifying a command on the command line.
  • Term::ReadLine
  • Term::ReadPassword
  • Getopt::Long
  • Pod::Usage
  • LWP::UserAgent
  • HTTP::Request
  • HTTP::Headers
  • Digest::MD5
  • Text::Wrap

  • Post a new comment


    Comments allowed for members only

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened