Got it... had to change the prompt line to be more specific.... (the waitfor lines are pulled from the new file, but didnt need to be for it to work)
use Net::Telnet ();
$t = new Net::Telnet (Timeout => 5, Prompt => '/[#:]/', Input_log => "sess.txt");
$t->open($hostip);
$t->login($username...
This should be simple, but I'm doing something stupid. Im just trying to read the @lines from a command using Net::Telnet. I've followed the example, but still having trouble. My input_log shows the whole transaction, but it doesnt come out in the @lines array like it should... can anyone see...
Heres a way... not the best though, but it works
Change the top info
<?php
$dbdata="Some_Database";
$dbuser="root";
$dbpass="";
$mydump="/usr/bin/mysqldump";
$cmd = $mydump." -u".$dbuser." ";
$cmd = $cmd." -p".$dbpass." ";
$cmd = $cmd.$dbdata." -d";
$output = `$cmd`;
$o = explode("\n"...
Can anyone tell me how (if its possible) to query the database and ask for its:
1: Table modification date
(the last time someone changed/add/deleted a table
2: Record modification date
(the last time someone changed/add/deleted data
I dont need both, but would...
I've used wget (windows version) and it works great. The *nix version doesnt support it as far as i can tell.
not that is post is helping you out, just had to throw that discovery in on your post because im trying to accomplish the same end as you are.
Although i think andy's config is correct, there are dozens of ways to do an access list. NOYPI, without a diplay of the messages, we are unable to see what went wrong with that list, so lets do it the hard way. this should get it for sure..... as long as you are positive this is the internet...
david, you should probably test one of these free webservers here, http://www.tusafe.com/nonags/servd32.html. Then, after you are sure you can see it from the outside world, install apache and configure it.
Correct me if im wrong, but it worked fine for you on the lan, just not from the...
ip http server
but you might not have the web files on the switch. you might have to download them and put them on.
quickly, there are 3 paks,
1. ios only
2. webfiles
3. combo ios,webfiles.
larry
inside of the exceed setup, change the keyboard to
"backspace sends delete".
Its been a long time since i've used exceed, if anyone can give more specific intructions, please post.
We play small jokes on each other when the admin will leave the snmp read/write strings as the default. It is VERY easy to do.... you can change ANYTHING using snmp.
Hint: dont use public/private as snmp strings and put an access list on there for snmp.
Maybe they were using brute force to...
there are only two things it could be. if you can get to apache from another desktop machine, than its working on the lan just fine.
here are the two probs ill give you to look at.
1. if apache is on unix, look at that flavors restrictions. they have access lists built on securing the...
would this work? just looking at the config, and if your webserver on 10.10.10.4 works, then this should also.
ip nat inside source static tcp 10.10.10.1 23 interface Ethernet0 23
ps: this is a guess.
some programmers link the source code to the phps file
example
if you pull up index.php try pulling up index.phps
to try this yourself, just copy your php file over to a phps file. you can then pull up the new file and see the real code.
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.