Keeping a record of my actions.. (in Public Record)


AdminNightStrike March 29 2006 11:27 AM EST

I want to make a record of what I'm trying to do to avoid any questions that might arise. I've found a way to burn some BA during downtime at work, but it requires some "1337 h4x0ring". I have a solaris box off-site that I can telnet into. From there, I ssh into my home PC, which routes that traffic to a linux box behind my home network. On that linux box, I've compiled elinks with ECMAScript support (to handle most of the javascript used on this site).

So why am I posting here? Well... elinks doesn't work well, and it tends to crash a lot. Also, I can't use the normal fight list. I have to go into Favorites > Edit, then click the Fight link for each person. This causes crashing every ten or twelve fights, which requires reloading the program and logging back in.

So..............

If anyone raises eyebrows at the fact that I'm logging back in every few fights, that's the reason. I'm still trying to find out why it's crashing, but it won't dump a core file for some reason, so I can't do a backtrace in gdb.

AdminQBnovice [Cult of the Valaraukar] March 29 2006 11:35 AM EST

sound like a nice little set of non-trivial hacks.
I do however wonder with all that tinkering if just
getting a vnc connection to a box wouldn't be easier.

AdminNightStrike March 29 2006 11:38 AM EST

The vnc traffic is filtered at the firewall. What I wanted to do was try to set up a tunnel for vnc, but can't do that either. I even tried running VNC on port 80, but it wasn't working. When I telnetted to that port to see the raw data, what I found was that the packets were getting corrupted, presumably by the company's NAT.

AdminQBnovice [Cult of the Valaraukar] March 29 2006 11:41 AM EST

What went wrong trying to setup the ssh tunnel?

NSFY March 29 2006 11:45 AM EST

HA! This sounds highly illegal - are you sure that you aren't also using these devices to communicate with al qaeda operatives ? You WILL be monitored, you know. The Supreme Court has got Dubyah's back on that one. See you in Gitmo!!!

Caedmon [Revenge of the Forgers] March 29 2006 11:55 AM EST

Actually, you won't. :)

bartjan March 29 2006 11:57 AM EST

How do you do botchecks?

AdminNightStrike March 29 2006 12:30 PM EST

I save the image locally to the linux box, shell outside elinks, ftp it to the solaris box where there's a web server, access it via http from my laptop at work, determine what the word is, then type it in on elinks.

...in under 2 minutes =)

Sounds complicated, but it's really not. Takes about 30 seconds or so.

AdminNightStrike March 29 2006 12:32 PM EST

novice: To set up the tunnel, you need a listening connection on the client side. I couldn't find a valid way to run a listening ssh daemon. Suggestions are welcome, as vnc would make life much easier.

deifeln March 29 2006 12:34 PM EST

Is it possible to forge using this method?

AdminNightStrike March 29 2006 12:40 PM EST

You can't submit any links that have a java popup (like confirming an auction big). I didn't try forging, but I can later on.

AdminQBnovice [Cult of the Valaraukar] March 29 2006 1:09 PM EST

I'll rifle back through whats left of my brain and try and send along an explanation of ssh tunnels, I remember fighting with what you are talking about, and sadly just can't remember off the top of my head what I had to do.

Maelstrom March 29 2006 1:10 PM EST

In auctions, if you press "Enter" to submit a bid, instead of clicking on the submit button, you don't get the JS confirmation popup. That should allow you to bid in auctions...

AdminNightStrike March 29 2006 1:10 PM EST

The issue is that I need to listen on an incoming port at the office, behind the firewall -- not an easy task.

AdminQBnovice [Cult of the Valaraukar] March 29 2006 1:12 PM EST

forgive if I'm missing something here,

but if you run an ssh tunnel from your office to your home computer, where in that do you need a listening SSH connect on the office net?

bartjan March 29 2006 1:22 PM EST

I run a 'xvncviewer -passwd ~/.vncpasswd -via unix.example.com windoze.example.com:0' to access the windows server at work. Could also be adapted to your situation. Even had the same idea work in Putty.
Use for windoze.example.com a desktop at your home, running a VNC server, and all the unix.example.com needs to have is a sshd listening, and be able to connect to the VNC server.

AdminNightStrike March 29 2006 10:33 PM EST

Well, scratch that... I can't submit my answer to botchecks. Spidermonkey can't handle the if-check to determine if the submission is valid (ie, 3 or 4 characters). Looks like I'm back to the vnc drawing board.

AdminNightStrike March 30 2006 5:38 PM EST

Sweet... got the ssh tunnel working! hehehe... bot checks are a lot easier now =)

Yeah, I wasn't setting it up properly before. I don't know why I was doing it the way I was... but it works very well now (albeit slowly... Even using twm under X)

If anyone wants information on how I did it, let me know and I will provide details.

AdminQBnovice [Cult of the Valaraukar] March 30 2006 6:19 PM EST

twm? eeek Where is the BlackBox man?

AdminNightStrike March 30 2006 7:45 PM EST

deifeln: Yes, forging works.

Maelstrom: Thanks!

novice: I figured twm would give the least amount of overhead. I dropped the res to 4-color, and it's somewhat tolerable.

bartjan: It worked out well. I had to add a few ports tothe NAT to forward them on, and I had to enable loopback connections on the vnc server. The sshd and the vncserver are on the same box.

AdminQBnovice [Cult of the Valaraukar] March 30 2006 8:37 PM EST

compare twm's overhead with blackbox and I think you'll find the results suprising

AdminNightStrike March 31 2006 1:20 AM EST

Ok, I just installed blackbox and edited the vnc xstartup script. I'll check it out tomorrow to see how well it fares bandwidth-wise.

AdminQBnovice [Cult of the Valaraukar] March 31 2006 2:15 AM EST

There are a few of the default BB themes that are low color non-gradient network friendly
This thread is closed to new posts. However, you are welcome to reference it from a new thread; link this with the html <a href="/bboard/q-and-a-fetch-msg.tcl?msg_id=001l7y">Keeping a record of my actions..</a>