If your switch does not support mirroring or spanning there may be other options - on inexpensive switches I use a suite of tools called 'dsniff'. These allow you to poison or flood the arp cache of the switch, so it acts like a hub or forwards traffic to your machine. It it likely to impact...
The problem is not putting the command in the background, but that you are prompted for a password - SSH and SCP allow you to run them without passwords, but you need to have your public key on the target server. Can you give me some more info on why it did not work? Basically if you can SSH...
Hi,
You need to create a public/private keypair first, then copy your public key over to the server. If sshd is configured correctly it will use these to verify you.
so on the client machine:
ssh-keygen -t dsa
you then have a file called ~/.ssh/id_dsa.pub
copy this file to the account on...
perl -e 'print time'
should do the trick.
On some versions of *nix you can use the 'date +%s' command, however it appears solaris 8.0 does not work.
Scotty
Have a look at HTML::TreeBuilder - it allows you to break down a HTML page into it's components
http://search.cpan.org/author/SBURKE/HTML-Tree-3.18/lib/HTML/TreeBuilder.pm
HTH,
Scotty
Hi John,
It sounds to me like you want the users to be able to browse the FTP site - why don't you just allow directory browsing for the directories you want FTP access to? You can then limit control to those directories, much like FTP login access. Most browsers will prompt you to enter a...
They are both do public key encryption, but in different ways - if my memory serves - DSA makes use of the discrete logarithm problem and RSA makes use of some esoteric number theory. I think DSA is only used for signatures (so my comment about encryption is not quite correct)
Farley,
# ssh-keygen -p
this will try to change the passphrase on an existing key - not create a new one....
Maybe you want to try something like:
# ssh-keygen -t dsa
Scotty
If you are looking at sending human readable numbers down the wire, then you could do a sprintf(buffer, '%d', ...) and then shove the contents of buffer down the wire.
You need to think about how to tell the other end that you are about to send an integer down the wire and then send the raw...
on the linux machine do the following:
tcpdump eth0
and then plug in the laptop and see what network traffic you get - it'll be a starting point for suggestions.
You can probably use 'netmon' on the XP machine if you prefer. Either way you want to know what the laptop is pushing onto the...
Hi Rakesh,
Try and telnet directly from the w2k machine to the relay and see what happens:
telnet mailrelay 25
If that does not work, try pinging it to make sure it really is reachable. It just sounds like a network connectivity problem from what you have said.
Scotty.
I gather when you referred to 'view the source' you mean HTML source.
The OS and Web server would still be usefull at this stage. However you should still try searching your filesystem for the 'somename.cgi' file - i.e.
find /usr -name 'somename.cgi'
or
find /opt -name 'somename.cgi'
Scotty
The problem you will have with the builtin stuff is that you really need to rely on ActiveState to build PPM's for everything you need - I am working on something that requires DBI modules for the Firebird database - which is not exactly commonplace - so we had no choice but to compile it...
Hi Pat,
I would be inclined to store my data as a multi-dimensional array first - i.e.
my @data = ( [ 10234532, 'email information'],
[ 10235432, 'another email'],
[ 20345234, 'yet another email'] )
then you can sort on time as follows:
@sorted = sort {$a->[0] <=>...
Are you talking about the server or client farley?
For the client, look for a file called $HOME/.ssh/id_rsa or $HOME/.ssh/id_dsa or $HOME/.ssh/identity and remove it (or better rename it) - There should be a corresponsing public key file with the same name, but .pub on the end - you need to...
In all honesty I'm not much of a windows person - so all this stuff is pretty trivial on a unix box. However I did have a need to use some non-standard libraries under perl a little while ago - so I re-compiled perl first on my laptop. I would suggest you start here - i.e. download the perl...
Depending on the version of windows you have - you can try a very nice packet capture application called ethereal. You need to install winpcap first - there are instructions on ethereal's web site:
http://www.ethereal.com
winpcap does have a little difficulty with dial-up connections however...
Hi Vilmap,
First stage is to download samba - you can either go for the source at http://www.samba.org - or get a pre-compiled version from http://www.sunfreeware.com (you need to get one for the version of solaris you have).
Once you have this installed, have a look at the following online...
Hi TaiChi,
We need a little more info to give you some help with this - i.e. OS and Web Server. Otherwise try searching for the file:
if you are on linux / unix try the following:
find /usr -name 'myscript.cgi'
or
find /opt -name 'myscript.cgi'
(changing myscript.cgi to whatever your's is...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.