Welcome to HBH! If you have tried to register and didn't get a verification email, please using the following link to resend the verification email.

A few questions...


ghost's Avatar
0 0
  1. Is there a way to make a .bat file that will look up the IP and then email it to me?
  2. If I was using PHP how could I make it so that the logout link was different?
  3. How do I make a an image that run the link /?logout or makes a popup box and the only way to close it is to click a link /?logout

I am sorry I do not know how to do any of this :( I do not know as much as I should…


ghost's Avatar
0 0

Peoplez….. PLease help me!!!!!!!!!!!!!!!!!!!!!!!!!!!


Uber0n's Avatar
Member
0 0

masta_hacks wrote:

  1. Is there a way to make a .bat file that will look up the IP and then email it to me?

No. Not through batch only ^^

The easiest way would be to make an IP logger in PHP, and then make a batch file open that URL in the system's standard browser.


ghost's Avatar
0 0

man you should learn a little php and visual basic or something. i suggest you do that,and youll be able to do what you want in no time.


ghost's Avatar
0 0

I agree with the last post.

batch isn't really too useful for stuff like this, stick to php, and VB/C/Java if you want to


ghost's Avatar
0 0

masta_hacks wrote:

  1. Is there a way to make a .bat file that will look up the IP and then email it to me?
  2. If I was using PHP how could I make it so that the logout link was different?
  3. How do I make a an image that run the link /?logout or makes a popup box and the only way to close it is to click a link /?logout

I am sorry I do not know how to do any of this :( I do not know as much as I should…

First, learn patience. No one feels much like pouring time into helping you if you're going to get pissed off when you don't get instant gratification. We're not paid to reply to you, we do it out of charity. So don't get all aggravated when no one relies after the first four house of your post being here.

  1. I suppose you would be able to get the IP, and write it to a file (if windows has piping, I'm really not a windows person), but you would need some other script to email it to yourself.

  2. Different… from what? Don't use a comparative then provide nothing to compare to. Do you mean change the text of the link? like, LINK TO SITE -> click here? <a href=site.com>old text</a> <a href=site.com>new text</a> Do you mean a different page? <a href=oldsite.com>text</a> <a href=newsite.com>text</a>

  3. Yes, but it'd be a trick to do so without alerting popup blockers. And while I guess there are legit uses for this, I cannot prima facia believe that you're not just developing really annoying code to piss someone off. If you're trying to do it as a way to piss someone off, they can just close out of their entire browser. The window is just the gui for the instance of the processor. you can prevent a window from closing, but you can't prevent them from killing the instance of the browser that they are running. This isn't closing the page, it's closing the browser. once the browser is closed, the javascript won't run the javascript that triggers the window to re-open. basically, you would set the variable logout to, when not null, PREVENT the printing of your re-open javascript, like this:

{
   //print javascript here
}
else
{
  echo &quot;You can close your browser window now&quot;;
}```

I&#39;m only taking it that far, cause I have to leave, the javascript isn&#39;t hard to write, you are capable of doing that yourself.

ghost's Avatar
0 0

I was merely posting to get my thread back on most resent, I was not 'pissed off' Also all wanted my IP thing to do was goto a page like whatismyip.org then email me the result so that every 4 hours or so it will email me the IP. I wanted to know how to change were the link goes, So that every time you login the URL to logout is different… Instead of the link being <a href="somesite.com/?logout>Logout</a>

As for the image I wanted it to for testing on my website, I wanted to see how easy it would be to make one. Also I wnated the image to redirect to page when ever someone went to that page…


ghost's Avatar
0 0

you keep referring to "THE ip" and "THE logout link".

what is THE? what are you talking about?

also, the quotes in your sig make me want to barf and eat what comes out. at best, they are the same thing rearranged and at worst they're cliche, based on things that I KNOW others have said, and just plain stupid.

I would suggest removing them.


ghost's Avatar
0 0

'The' is referring to hypothetical stuff. I just want to know how to do it. I do not know what the IP would be, The logout link is for my website.


richohealey's Avatar
Python Ninja
0 0

masta_hacks - I am the person you never were

^^^^ dude what the fuck. I'm not kidding.. i have yet to see a post where you knew something. And weren't asking for help. Think before you put stupid shit like that up, it puts people off.

And if you want to trojan someone look at some of the tools on dyndns.org for keeping your dynamic IP logged, it souldn't be too hard to mod them to report to a page of yours instead.


ghost's Avatar
0 0

mildo: can mr.cheese make that required reading for everyone trying to join the site?

You still haven't answered my questions, [sic] master hacker

anyway, I answered them as good as anyone is going to. And, your thread isn't going to get buried if it's not at the very top of the forum. And if it does, it's probably because your question was stupid and no one feels like putting up with it today.


ghost's Avatar
0 0

How does 'I am the person you never were' imply that I know more than youQ? I havn't even been hacking for a full year yet how do you expect me to learn if you never teachQ?