Friday 15 June 2012

html - How to send post data to shellinabox, or use javascript to do same -



html - How to send post data to shellinabox, or use javascript to do same -

this long one, apologies in advance..

i playing writing web based session manager team using shellinabox. have working how want, each new connection, starts new instance of shellinaboxd on different port(if needed). 1 thing putty connection manager has(what use) can't working, automated logon commands. after making connection, auto pass our credentials, , other post login commands might use(cd /tmp, etc).

with fiddler, can see every key press create sends post root dir. example:

http://localhost:1234/?width=190&height=52&session=j793zjwa6gtkxeev%2feyy7g&keys=0d

so thought if captured session token might able test wget or curl send post info session. doesn't work...

my question be, can give me pointers on seek next? in end, poc, want have button on page(i embedding link above within page) allow me press, , send key presses string(i can handle string hex conversion) straight console view. apparently out of depth on one, because have no clue seek next. know shellinabox uses vt100 console. had @ js it, couldn't find in js sends keystrokes. also, 1 time open page shellinabox embedded, how can pull current "session" token using?

any help/pointers appreciated.

javascript html css ssh vt100

No comments:

Post a Comment