Martin Atkins (mart) wrote in lj_clients,
Martin Atkins
mart
lj_clients

ljsh: Interactive shell for access to a LiveJournal admin console

DESCRIPTION

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 www.livejournal.com 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.

SYNOPSIS
ljsh [options] user[@server] [command [args]]
 Options:
   --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
OPTIONS
--port
The port number to connect on. The default is the standard HTTP port, port 80.
--interface
The path to the protocol interface. The default is the standard flat handler, at /interface/flat.
--password
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.
DEPENDENCIES
  • Term::ReadLine
  • Term::ReadPassword
  • Getopt::Long
  • Pod::Usage
  • LWP::UserAgent
  • HTTP::Request
  • HTTP::Headers
  • Digest::MD5
  • Text::Wrap

ljsh.pl.

Subscribe
  • Post a new comment

    Error

    Comments allowed for members only

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

  • 7 comments