Jump to content

Hack The PHP Script Code


r4v37t

Recommended Posts

Try Hot Scripts. They have a lot of PHP scripts that work without the need for SQL. Just have to go through them to see what you want for your needs.

http://www.hotscripts.com/search?q=shout+b...;imageField.y=0

Link to comment
Share on other sites

  • 1 month later...

A reveres DNS lookup might help, but an IP address doesn't necessarily have a associated name (it often helps if it does). In which case you would have to perform a trace route and use name information gathered from a reveres DNS lookup on each hope in the route to figure out the last known location.

Link to comment
Share on other sites

Also, the whois database contains information about the companies that own blocks of IPs. This will, at least, give away the country the IP address resides in.

Yeah, samspade is good for that. http://samspade.org/ too.

Link to comment
Share on other sites

I got the database ip to country, the problem is how i create it at php code?

Haven't used it but take a look at this site. It does the same thing, but without the need for a database in sql(It provides the db in flat files).

http://www.phptutorial.info/iptocountry/the_script.html

Link to comment
Share on other sites

Start learning PHP then.

QFE.

We are here to help you if we can, but we're not the end all be all "help me code this" site. At some point you have to search for and learn these things on your own, or you are not going to learn anything. We can't spoon feed the world. My advice, start with php.net and pick your native language (http://www.php.net/docs.php) Also, google and http://www.w3schools.com/PHP/ are great places for more info. It takes 2seconds to look up your wuestion with google, and you will probably find a quick answer at the top of your search results.

Link to comment
Share on other sites

When you go to get your car fixed, do they turn you away and say learn how to fix the car yourself?

No, cause they get MONEY to fix the car. You seem to forget that:p Do the people on the forum get money for their help/ advise? I didn't think so, so it's just a stupid excuse of you to quit this forum.

Link to comment
Share on other sites

  • 2 weeks later...
Does your host advertise this functionality?

If I'm a web host and I don't advertise shell access, I'm completely going to block shell execution from with in PHP.

The access of shell execution isn't blocking by the web host, in fact I can use ping or ifconfig in the web host from PHP but I can't use command for "zip" like ZIP or GZIP.

Link to comment
Share on other sites

you will be able to answer these questions a lot quicker using google, you can't just ask us every time you don't know something. The guys aren't here to teach you PHP, that's not what Hak5 is about.

Link to comment
Share on other sites

  • 3 weeks later...

not sure if you've figured this out, but here's how you'd get the IP for the person connecting to your page.

<?php
$hostname = gethostbyaddr($_SERVER['REMOTE_ADDR']);

echo $hostname;
?>

that's straight from the PHP manual. Here

Link to comment
Share on other sites

not sure if you've figured this out, but here's how you'd get the IP for the person connecting to your page.

<?php
$hostname = gethostbyaddr($_SERVER['REMOTE_ADDR']);

echo $hostname;
?>

that's straight from the PHP manual. Here

And the POC of worm in PHP it's like a worm virus in computer?

I mean how worm in PHP can keep it self run in that computer that have infect?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...