Jump to content
xisto Community

Pankyy

Members
  • Content Count

    132
  • Joined

  • Last visited

Everything posted by Pankyy

  1. My bad, I guess I've changed a few things Maybe because of the WEP and then I took the pattern W-- And also my bad with the MAC address thing. I meant IP addresses.
  2. As I have said, I have a Trendnet one, and yes, it works pretty well even through walls, but the signal force depends in the distance you have between the router and the computer, and also, the signal power of the router itself. Anyway, if I'm not wrong, even if the signal is seen as 'low' the internet speed that the computer will have will still be the same (and I have kind of tested it).I'm not sure what do you mean by NIC, the router usually makes up automatically a MAC address for each of the computers that joins the network, unless it's off.
  3. I don't think there are major possibilities of being hacked using a wireless connection. I have a trendnet one, and I can say that here, it's very hard for someone to hack your wireless connection. It has different kind of protections, called WEP, WAP and WAP2. The better is supposed to be WAP2, but I used WAP because it's the max level of security my wireless driver can take (or something like that). To WAP you add a password, and that's it. Moreover, your wireless router won't reach too far for more people that could potentially try to hack it. I wouldn't care about it really. I never got in problems with it.
  4. Pankyy

    Escaping Text

    Nono, there is no problem with numbers and non-alphanumerical data, I was just saying to stop a sql injection and the insertion of a script tag or something like that, so users can't change font or something like that. But truefusion, what you say, first, I understand many sql injections, but I can't understand why a whitespace could be use to sql inject; and second, doesn't the mysql_real_escape_string($string) would take care of it already?
  5. Anyway, just think it the following way, if she really wanted to keep conversation, or be nice, or at least, TRY to lie better, she could have said "No, my name is #####"; but she didn't. If someone asked me that with interest I would obviously say my name. And honestly, I don't think she will forget in 1 or 2 months what has just happened. And again, you have to get to know her a little before asking her out. Asking her out of nowhere isn't a good way to get people go out with you; get to know you and trust you a little and then try.Ah, and by the way, there is a spanish proverb that says ("Aunque la mona se vista de seda, mona se queda"); what it means is that even if a monkey were to wear silk, he stills remains as a monkey; even though it can't be fully applicable to this case, a beauty looking girl can be a bad girl. Don't let appearances blind you.
  6. Crap, that's a bad person, one thing is to be shy and everything and another very different is to be lying (if it can be called really lying anyway, since you already know all that is false). I don't know, it depends on what you think you want to keep on doing. We can know that you have interest in her, and maybe a big one, but it depends on you to tell yourself that it's all worth it, or it isn't. I don't know the way she answered that questions to you, so it's hard trying to get her atittude to me. But again, what she did was cruel, if she already noticed that you had a hard time to get to talk to her, and doing this already,... it's up to you. When you ask if she don't like you, I guess the only time where she can think of you was from the first time you met her, maybe she wasn't paying too much attention to you as you were to her.But I'm glad you took this so well
  7. You're lucky, I had that script over there: <?// change this to location of your text file$xfile = "randomthoughts.txt";$xline = file($xfile);$xline = str_replace("\n","",$xline);$xline = str_replace("\r","",$xline);srand((double)microtime()*1000000);echo $xline[rand(0,count($xline))]."<br />";?> In the randomthought.txt you have to put a 'thought' or 'phrase' per line and that's it.
  8. I'll give you a list of free firewall that are recommended by websites that check computers for viruses: Zone Alarm, Outpost, COMODO and Sygate. If I'm not wrong, I've heard good things about Zone Alarm, try out that one.
  9. What I'm having a little hard of a time to understand is why you're stripping slashes when there isn't a moment where you put them on the variables. Because, when you use addslashes on a variable then it would be :"I/'m interested in a new design idea for one of our client/'s." and not "I/m interested in a new design idea for one of our client/s.". Anyway, as jhaslip said, you could try changing this: $to = stripslashes($_REQUEST['sendto']);$name = stripslashes($_REQUEST['Name']);$from = stripslashes($_REQUEST['Email']); to this $to = $_POST['sendto'];$name = $_POST['Name'];$from = $_POST['Email'); and then, if the slashes thing works that way, you can then concentrate on other security problems.
  10. To add the stripslashes, you should do the following with the variable: $name = stripslashes($_REQUEST['Name']); And as truefusion states, your script needs security in the $from variable, unless it has been escaped already. EDIT: ups sorry truefusion, didn't get early for your answer
  11. Exactly, torrents (AKA P2P) aren't illegal itself. What makes them illegal are the downloads of copyrighted software, movies, etc. Think of the fast all the Torrents websites would go down if they were illegal themselves for hosting torrent files, let alone if the program itself is illegal. And by the way, if your speed is bigger than the download speed the torrent uses, you can't work that out. You have to take in mind 2 factors. The first one, some torrents limit your download speed depending the upload speed you put up. If your upload speed is too low, then it won't allow you to download at high speeds (I'm not sure if it happens with every program). The second one is that being this a P2P, the users are the one that are sharing it with you. The bigger the number of seeds the torrent has, the bigger the speed will be. That's all; there are no hidden tricks.
  12. Well I actually didn't get right all the story, but your friend knew her, or just went to where she was to ask her to come to your side? If that's the case, I don't know, I don't even know the guy, I would personally wonder if to give out or not my real cellnumber. It's not he's a guy from my class or something, he's just a random guy. That's from my perspective though. That's the reason why I think she gave out a fake number.Anyway, that's it, you got one friend that knows her, you should use his help to get near to her; does she have an IM messenger or something like that? Those things always help in this kind of cases. Don't send a lot of text messages to her anyway, people sometimes get 'scared' when someone is so obsessive over something. I would better wait. It's very strange she didn't answer back, though, did you send who you were?
  13. What do you mean by FPS multiplayer web-based? Like a shooting game but in flash or PHP? There aren't such things. Anyway, if what you refer to is a PHP shooting based-one, then it wouldn't look too cool. A flash one would do better, but again, I don't think you're gonna be able to find a program that lets you make your own FPS flash game. You have to do those things all by scratch.
  14. Pankyy

    Escaping Text

    No, but don't worry about that. I'm just asking about the text input since the login system is already done and is separated from the text input one (meaning you can't do one without being logged, and there's no way to change that). What do you mean by "white space"? A normal whitespace such as " " or some kind of vulnerability name that I don't know?
  15. Pankyy

    Escaping Text

    I have been wondering for a while now, running a htmlspecialchars($string) and a mysql_real_escape_string($string) would take care of any kind of 'damage' intended when it's user input? For example, a board, the user can say whatever he wants, but he won't be able to enter more than plain text, meaning no harm intended to the mysql database(sql injections) and no change to the html in the text they entered (nor any php, javascript, etc.). So, fitting all this in a function: $string ="Whatever";function strip_things($string){$string = htmlspecialchars($string);$string = mysql_real_escape_string($string);return $string; } Would that be it?
  16. Reading the sports section of the online diary, I've gone across one article where it showed a french page where, when paying the required amount, they will make your homework. The webpage name is faismesdevoirs.com (from french "Make my homework"). Now, yes, you've read alright, you have to pay to get it done. When I first read "5 euros for the service" I guessed that it was some kind of monthly bill, or something like that. But no. A list shows the following prices: -5 euros to resolve in a 24-hours term a maths problem, which can have as max. 3 questions. -10 euros if it's about History. -25 euros for 4 physics problems. -30 euros for Geography help. -80 euros for making an essay. I, personally, think that the prices are a bit high. And that's not all, it leaves us with the moral discussion if it's either ok or bad to have someone else make your homework. You can learn, it's true, but most of the times I guess they would just receive it and that's all. I don't think they're going to teach one and every of those that pay the services. What's do you think about this? Is it ethically correct or not? I say not. Also, I would prefer not to do it if I had to pay (I'm too lazy anyway).
  17. Hey, I don't know if that guy intented that as spam or not. Don't really care, though, I wont talk about that. Your page looks pretty big, you weren't lying, you have a pretty big database of topics and stuff. I think it looks pretty well and at first sight I don't need anything that could get better. Anyway, you once had 43 online users at once so you have to think that you're doing pretty well, that's a lot of people. I'm in fact jealous My page could never get that number of people.BTW, this might be a bit offtopic, but what are those links you have up there? ("Bass Fishing Watch Free Anime Series Free Online Storage Internet Speed Check"). Paid links? Just curiosity, doesn't seem like ads (not conventional at least).
  18. Sorry, to apply it to your code, change the following lines: $filename = 'filetext.txt';$somecontent = "Add this text to the file\n";to$filename = 'comments.php';$somecontent = "\nName: {$_POST['name']}\nComment: {$_POST['comment']}\n"; And that's it. But if it still doesn't work change comments.php to comments.txt and try that way.
  19. By the way, baniboy, are you writing this in the script page itself???? Or are you using that as an example? In your code you're executing comments.php and at the same time opening it to add text?? Please check and tell me if that's what you want to do. Else this a code you could also use and try if what I said up there was OK: <?php$filename = 'filetext.txt';$somecontent = "Add this text to the file\n";// Let's make sure the file exists and is writable first.//if (is_writable($filename)) {// In our example we're opening $filename in append mode.// The file pointer is at the bottom of the file hence// that's where $somecontent will go when we fwrite() it.if (!$handle = fopen($filename, 'a')) {echo "Cannot open file ($filename)";exit;}// Write $somecontent to our opened file.if (fwrite($handle, $somecontent) === FALSE) {echo "Cannot write to file ($filename)";exit;}echo "Success, wrote ($somecontent) to file ($filename)";fclose($handle);//} else {//echo "The file $filename is not writable";//}?>
  20. If you want a little php code for that, I can give it to you (simple, though): //comments.php page//<p><form name='createcomment' method='post' action='chkcreatecomment.php'><center>Input your name</center><br><input type='text' name='name'><br><br>Comment:<br><center><textarea cols=4 rows=20 name='comment'></textarea></center></form></p>//chkcreatecomment.php//<?*INCLUDE FILE THAT HAS CONNECTION TO MYSQL SERVER*function will_strip_tags($str) { do { $count = 0; $str = preg_replace('/(<)([^>]*?<)/' , '<$2' , $str , -1 , $count); } while ($count > 0); $str = strip_tags($str); $str = str_replace('>' , '>' , $str); return $str;}if (!$_POST['name'] OR !$_POST['comment']){print"<script>location.href='comments.php';</script>";die;}$_POST['name'] = will_strip_tags(mysql_real_escape_string($_POST['name']));$_POST['comment'] = will_strip_tags(mysql_real_escape_string($_POST['comment']));if ($_POST['name'] != "" AND $_POST['comment'] != ""){mysql_query("INSERT INTO commentstable (name, comment) VALUES ('{$_POST['name']}', '{$_POST['comment']}')");}print"Comment created.<script>location.href='comments.php';</script>";?></script> The first page is the HTML only page, where you're going to put the box to fill up the comments, and the name of the guy who is sending the comment. The second one is the PHP page, where the data is processed to check the data and, if correct, insert into the database. I'm pretty fast doing codes so I think that would do pretty well. You will need the file to connect to the mysql server and a table called "commentstable" with vars ID, name, comment, and if you want, time. Feel free to ask if you have any other question about it.
  21. The one of the girl didn't see to be too funny, at least not from the point of view of the one who is told that But I do get your point, that is a good way, but you then have to be careful on what you say.
  22. You can post the full script code here inside of code tags and point us the line where the error is; if you can't understand the error we will try to find it to help you. Also, javascript sounded as a hard language to me, but these last days I've learned a lot and it's pretty easy if you get the hand of it.
  23. Not man, I think your idea is worse, no offense intended. He already got up with it for 3 years do you think that saying that will make them go behind? That's only putting yourself at the same level than theirs, and even if it isn't (really depends in what's your comeback, so I can't be 100% about that. Example is saying that autism is not for jokes, that can actually make him feel somehow bad-not much though), they might have even more reasons to bother him, and maybe get violent. Something is to make them feel bad about what they're saying, other is to ignore them, and the last, and even worst that he can do, is provoke them even more. That's no good.
  24. It either isn't complete or there is a BIG error at the end(I'm really guessing it's incomplete, for the script's sake). Also, the error should have the line that's having the error, I also expect that the error isn't complete. Can you put it all here? EDIT: Yes, it's missing code, in possible go to the other forum section and post the whole code into code tags so it will be complete.PD: 2 things, first, this should go into Computers/Programming language, this forum is only for visitors and guests. And 2, the code should go in a code tags. Mods will be mad at you else.
  25. I'm not too old (17 years old) but I can say that you will see that there all kind of people in life, like it or not. You have to get over them, don't let them think they're affecting you talking nonsense(this makes them even bother even more). If you really don't get affected, you don't have to do anything then, but it's hard to do, I know myself. I'll just give you an example, to let you see this, there was a guy that was being bothered (not too much really, but bothered anyway). It was for some birthday party in a friend's house. One of the guys that was here told him not to bother anymore because he is a honest guy and really got bored of him repeating the same stupid thing over and over again and then the guy didn't felt as good to do so. Hope you good luck with that.
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.