Follow us on Twitter!
It is never to LATE to become what you never WERE.
Friday, April 18, 2014
Navigation
Home
HellBoundHackers Main:
HellBoundHackers Find:
HellBoundHackers Information:
Learn
Communicate
Submit
Shop
Challenges
HellBoundHackers Exploit:
HellBoundHackers Programming:
HellBoundHackers Think:
HellBoundHackers Track:
HellBoundHackers Patch:
HellBoundHackers Other:
HellBoundHackers Need Help?
Other
Members Online
Total Online: 25
Guests Online: 24
Members Online: 1

Registered Members: 82826
Newest Member: Jakob
Latest Articles
View Thread

HellBound Hackers | Computer General | Programming

Author

PHP scripts


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 21-06-06 03:24
I was wondering what you coded as your first script with php. I'm not talking about hello world or some maths sum etc

I mean a port scanner, a cookie stealer etc.




Author

RE: PHP scripts

knutrainer
Member



Posts: 243
Location:
Joined: 08.07.05
Rank:
Apprentice
Posted on 21-06-06 03:53
I am working on an IRC bot that currently won't login because I don't have enough "parameters". But that is what I am working on.


img389.imageshack.us/img389/974/knu5ui1ja.jpg
~PM me if you need help or instant message me.


knutrainer@gmail.com
Author

RE: PHP scripts


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 21-06-06 06:39
I dunno what mine is I usually have several projects on the go at any one time


Author

RE: PHP scripts


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 22-06-06 09:18
Hey I'm making an IRC bot too! Grin
and I'm trying to make a massive CMS/User management thingy Wink


Author

RE: PHP scripts


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 22-06-06 11:53
A massive CMS/User thing? Does it use modules etc?


Author

RE: PHP scripts


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 22-06-06 12:07
what do you mean, KnuTrainer? All you need (to join the IRC server,
then a channel) is:

Code

// Create the Socket
$socket = socket_create(AF_INET,SOCK_STREAM,SOL_TCP);
// Connect to HBH ircServer
$connection = socket_connect($socket,'irc.hackersfoundation.org',6667);
// Send the Username to HBH ircServer
socket_write($socket,"USER RHAP RHAP RHAP :RHAP&*92;r&*92;n");
// Change our nickname
socket_write($socket,"NICK KnuTrainer &*92;r&*92;n");
// Join the channel
socket_write($socket,"JOIN *HBH &*92;r&*92;n"); Connected!
// read whatever IRC is telling us
while($data = socket_read($socket,2046))
{
echo $data;
}










Edited by on 22-06-06 12:08
Author

RE: PHP scripts


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 22-06-06 12:50
man i dont even know where to start or how to apply these thigns...you people amaze me.


Author

RE: PHP scripts


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 22-06-06 15:18
The first thing i made (yesterday) using PHP was a Database which stores various information for a text-based MMORPG that doesn't seem likely to happen as i'm learning as i go along...


Author

RE: PHP scripts


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 22-06-06 16:23
One of the best thing to make as your first script is probably a CMS, you'll learn to use PHP and SQL.


Author

RE: PHP scripts


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 22-06-06 16:36
Yeah, CMS's are a good thing to code. Especially if you can make them as easiest as possible for whoever is using them. However lol the easier for the user, the harder for the coder lol. If you get to confused with trying to make a CMS, maybe try making Login's and other things that you can make PHP interact with SQL.


Author

RE: PHP scripts


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 22-06-06 16:42
The thing about coding CMSs is that the basics are easy but once you start trying to make modules etc it gets really complicated. Especially themes


Author

RE: PHP scripts


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 22-06-06 19:33
The thing I coded first (exept for math sums and book examples) was a user login system.
First I let the script read from a .txt file to check the login, worked with cookies and sessions, then I updated it to a MySQL database Smile


Author

RE: PHP scripts


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 22-06-06 22:23
First major thing I coded was a forum. Then I lost my webspace due to not logging in for ages and hadn't backed it up. Kinda pissed me off.


Author

RE: First PHP project


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 15-07-06 20:07
An IRC bot, am still working on it.

Did not someone code a PHP bot for the competition?

Has any one else coded a PHP IRC bot?

.|Mals
Author

RE: PHP scripts


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 15-07-06 20:27
My first proper script was a login that had to be modified for new users (all the users/passes were kept in the script), then I made a MySQL version, and just today I added sessions.