Sponsored Content
Full Discussion: terminal capture
Special Forums Cybersecurity terminal capture Post 5764 by ober5861 on Wednesday 22nd of August 2001 09:31:13 AM
Old 08-22-2001
If you've ever heard of a small program called VNC, you may want to check that out. It shows an exact copy of the screen on a remote terminal and can even allow you keyboard and mouse control. I personally never got it to work on my Linux box, but I've used it extensively on the Windows side. But it came with my Mandrake distro, so I know it has to work. Good luck.

Here's their website if you want to see more:

www.uk.research.att.com/vnc

They have downloads for Linux/SPARC/Windows/Macintosh and others including the source code for all.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

terminal capture

I have to capture a remote terminal from the Unix machine I tried with cat /dev/pts/0 (remote terminal) > /dev/tty1 (Unix terminal) but its is blocking the remote terminal. (2 Replies)
Discussion started by: krishonv_2
2 Replies

2. UNIX for Advanced & Expert Users

connecting to unix through hyper terminal - as a dumb terminal

I just changed from windows NT to XP and I am no longer able to connect to my unix system. I used to use hyper terminal -- which acts as dumb terminal to my main frame unix system. I think one of the options used to be "direct to comX". This option isn't listed now. I use a serial port and the... (2 Replies)
Discussion started by: michelle
2 Replies

3. AIX

Capture IP Adress

hello I need for a script to capture the ip address from the connected user. I have 5 logical partitions. With "who", i have the ip adress, but only for 2 servers. Do you know another command to know the ip address of connected clients ? thank you (14 Replies)
Discussion started by: pascalbout
14 Replies

4. UNIX for Advanced & Expert Users

Pseudo-terminal will not be allocated because stdin is not a terminal.

I am trying to automate a SSH login using Keys using the following command ssh -i id_rsa usernamw@ipaddr. I am successful in doing this and i am getting the Warning Screen and I logon successfully. but when I am executing the command tail -1cf put.dat | ssh -i id_rsa username@ipaddr > get.dat ... (1 Reply)
Discussion started by: Shivdatta
1 Replies

5. UNIX for Dummies Questions & Answers

Gnuplot wxt terminal vs x11 terminal

Hi, I installed ubuntu recently on my pc. And I installed gnuplot as well. When I first started working with gnuplot it was working . I did a plot and when I wanted to fit my data something happened and not the default terminal of gnuplot is xwt! I changed it to: set terminal x11, but it... (0 Replies)
Discussion started by: cosmologist
0 Replies

6. UNIX for Dummies Questions & Answers

Does DOS has a terminal or pseudo terminal?

I am wondering if the DOS console works like the unix terminal? (1 Reply)
Discussion started by: vistastar
1 Replies

7. Shell Programming and Scripting

How to Capture a Unix Terminal Session?

Hi All, I want to capture all the operations performed in the terminal. So to achieve this I used “script” command. This works as I expected. But this command captures all the standard output which is redirected to terminal. For example if i “tail” a file, even the tail output is getting... (2 Replies)
Discussion started by: kalpeer
2 Replies

8. UNIX for Dummies Questions & Answers

A terminal controlling a terminal...

Hi all... Consider me a dummy here... I do not want any code or for anyone to show me how to do it at this time, but here is the question:- I have had this brainstorm to be able to control the AudioScope.sh program in the "Shell Scripting And Programming" forum... Is it possible, by... (4 Replies)
Discussion started by: wisecracker
4 Replies

9. Shell Programming and Scripting

Cannot get terminal application to launch with a graphical launcher when successful in terminal

I have been having an extremely annoying problem. For the record, I am relatively new at this. I've only been working with unix-based OS's for roughly two years, mostly Xubuntu and some Kali. I am pretty familiar with the BASH language, as that's the default shell for debian. Now, I've made this... (16 Replies)
Discussion started by: Huitzilopochtli
16 Replies

10. Shell Programming and Scripting

Print Terminal Output Exactly how it Appears in the Terminal to a New Text File

Hello All, I have a text file containing output from a command that contains lots of escape/control characters that when viewed using vi or view, looks like jibberish. But when viewed using the cat command the output is formatted properly. Is there any way to take the output from the cat... (7 Replies)
Discussion started by: mrm5102
7 Replies
Net::VNC(3pm)						User Contributed Perl Documentation					     Net::VNC(3pm)

NAME
Net::VNC - A simple VNC client SYNOPSIS
use Net::VNC; my $vnc = Net::VNC->new({hostname => $hostname, password => $password}); $vnc->depth(24); $vnc->login; print $vnc->name . ": " . $vnc->width . ' x ' . $vnc->height . " "; my $image = $vnc->capture; $image->save("out.png"); DESCRIPTION
Virtual Network Computing (VNC) is a desktop sharing system which uses the RFB (Remote FrameBuffer) protocol to remotely control another computer. This module acts as a VNC client and communicates to a VNC server using the RFB protocol, allowing you to capture the screen of the remote computer. This module dies upon connection errors (with a timeout of 15 seconds) and protocol errors. This implementation is based largely on the RFB Protocol Specification, <http://www.realvnc.com/docs/rfbproto.pdf>. That document has an error in the DES encryption description, which is clarified via <http://www.vidarholen.net/contents/junk/vnc.html>. METHODS
new The constructor. Given a hostname and a password returns a Net::VNC object: my $vnc = Net::VNC->new({hostname => $hostname, password => $password}); Optionally, you can also specify a port, which defaults to 5900. For ARD (Apple Remote Desktop) authentication you must also specify a username. You must also install Crypt::GCrypt::MPI and Crypt::Random. login Logs into the remote computer: $vnc->login; name Returns the name of the remote computer: print $vnc->name . ": " . $vnc->width . ' x ' . $vnc->height . " "; width Returns the width of the remote screen: print $vnc->name . ": " . $vnc->width . ' x ' . $vnc->height . " "; height Returns the height of the remote screen: print $vnc->name . ": " . $vnc->width . ' x ' . $vnc->height . " "; capture Captures the screen of the remote computer, returning an Image::Imlib2 object: my $image = $vnc->capture; $image->save("out.png"); You may call capture() multiple times. Each time, the $image buffer is overwritten with the updated screen. So, to create a series of ten screen shots: for my $n (1..10) { my $filename = sprintf 'snapshot%02d.png', $n++; $vnc->capture()->save($filename); print "Wrote $filename "; } depth Specify the bit depth for the screen. The supported choices are 24, 16 or 8. If unspecified, the server's default value is used. This property should be set before the call to login(). save_bandwidth Accepts a boolean, defaults to false. Specifies whether to use more CPU-intensive algorithms to compress the VNC datastream. LAN or localhost connections may prefer to leave this false. This property should be set before the call to login(). list_encodings Returns a list of encoding number/encoding name pairs. This can be used as a class method like so: my %encodings = Net::VNC->list_encodings(); send_key_event_down Send a key down event. The keys are the same as the corresponding ASCII value. Other common keys: BackSpace 0xff08 Tab 0xff09 Return or Enter 0xff0d Escape 0xff1b Insert 0xff63 Delete 0xffff Home 0xff50 End 0xff57 Page Up 0xff55 Page Down 0xff56 Left 0xff51 Up 0xff52 Right 0xff53 Down 0xff54 F1 0xffbe F2 0xffbf F3 0xffc0 F4 0xffc1 ... ... F12 0xffc9 Shift (left) 0xffe1 Shift (right) 0xffe2 Control (left) 0xffe3 Control (right) 0xffe4 Meta (left) 0xffe7 Meta (right) 0xffe8 Alt (left) 0xffe9 Alt (right) 0xffea $vnc->send_key_event_down('A'); send_key_event_up Send a key up event: $vnc->send_key_event_up('A'); send_key_event Send a key down event followed by a key up event: $vnc->send_key_event('A'); send_key_event_string Send key events for every character in a string: $vnc->send_key_event_string('Hello'); send_pointer_event( $button_mask, $x, $y ) Send pointer event (usually a mouse). This is used to move the pointer or make clicks or drags. It is easier to call the "mouse_move" or <mouse_click> methods instead. mouse_move_to($x, $y) Send the pointer to the given position. The cursor instantly jumps there instead of smoothly moving to there. mouse_click Click on current pointer position. mouse_right_click Right-click on current pointer position. BUGS AND LIMITATIONS
Bit depth We do not yet support 8-bit true-colour mode, which is commonly supported by servers but is rarely employed by clients. Byte order We have currently tested this package against servers with the same byte order as the client. This might break with a little-endian server/big-endian client or vice versa. We're working on tests for those latter cases. Testing and patching help would be appreciated. Efficiency We've implemented a subset of the data compression algorithms supported by most VNC servers. We hope to add more of the high-compression transfer encodings in the future. AUTHORS
Leon Brocard acme@astray.com Chris Dolan clotho@cpan.org Apple Remote Desktop authentication based on LibVNCServer Maurice Castro maurice@ipexchange.com.au Many thanks for Foxtons Ltd for giving Leon the opportunity to write the original version of this module. Copyright (C) 2006, Leon Brocard This module is free software; you can redistribute it or modify it under the same terms as Perl itself. perl v5.12.4 2011-10-31 Net::VNC(3pm)
All times are GMT -4. The time now is 02:21 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy