Jump to content

TuQuoQueBrute

Members
  • Posts

    15
  • Joined

  • Last visited

About TuQuoQueBrute

  • Birthday 03/15/1914

Profile Information

  • Gender
    Male
  • Location
    Planet earth
  • Interests
    programing, webdesign, learning, make money

TuQuoQueBrute's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hi all With this code bellow: i only get the response "HTTP/1.1 200 OK" i want to get all the response from the website , any clue how to do this? Regards <?php $aa='google.com'; $ab="GET / HTTP/1.1\n"; $ab .="Host: www.google.com\n"; $ab .="Connection: keep-alive\n"; $ab .="Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8\n"; $ab .="User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.172 Safari/537.22\n"; $ab .="Accept-Encoding: gzip,deflate,sdch\n"; $ab .="Accept-Language: pt-BR,pt;q=0.8,en-US;q=0.6,en;q=0.4\n"; $ab .="Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3\n\n"; $a=fsockopen($aa,80); fputs($a,$ab); $b=fgets($a); echo $b; ?>
  2. My help for this case is in the post above /|\ Something tells me that you used dream weaver , i dont know it , but probably you have some option like: right clik in the cell or table and "cell proprietis" "align" and try to fix that in that way, instead of guessing the right percentages,because "take a look": A cell with 50% of widht is 50% in my resolution , in your resolution , in JenyferLopez resolution Myself use a diferent resolution from the most of users and your website looks strange when i go there, some of the content dont even apear in the screen cause half of it is outsid of my screen so...you have a lot of work there... or try to wait for one other reply, with some css magic trick , either ways you have work to do
  3. Well...everywere this is some of your website code <td height="52" valign="top" width="220"> <!-- Left Column --> <table cellpadding="0" cellspacing="0" width="219"> <tr> <td align="left" valign="top" width="209"></div> To fit in the diferent resolutions is recomended that you specify the table size in percentage
  4. tip: <td width="100%" height="50%"></td> percentages
  5. oh i see, i dont know jquery , im such a noob, i was reading now about it, it seem achivable, i will learn it! thanks for the tip!!
  6. to pratice i made this simple chat: 1 file -Save it as html with the name chat2.html <?php $tt=file_get_contents('rec.html'); $hh=str_replace('div id="aaa"', 'div id="m"', $tt); $ri="$hh"; $fl='rec.html'; $a3=fopen($fl, 'w'); fwrite($a3, $ri); $a ='<div id="aaa"> <font face="Tahoma" size="2">'; $a .= "$_POST[tyPed]"; $a .='</font></div><p>'; $a1="rec.html"; $a2=fopen($a1, 'a'); fwrite($a2, $a); ?> <html> <head> </head> <body> <p align="center"><iframe src="rec.htm#aaa" width="680" height="300" scrolling="auto" ></iframe> <form method="post" action="chat2.html"> <p align="center"><input type="text" name="tyPed" size="60" maxlength="100" autofocus="autofocus" ><input type="submit" value="Submit" name="b1"><a href="chat2.html">Chek New Messages</a></p> </form> </body> </html> 2 file - Save it as html with the mame rec.html and mantain in the same folder as the first file <?php echo '<html><head><body><meta http-equiv="refresh" content="10; url="></head></body></html>'; ?> The thing is it only get new messages 10 in 10 seconds, And in I.E it will make that anoying clik clik clik of rederections. any idea how i can make it get new messagens when there is one new message? It can be only theory i code that theory if it works.
  7. hey hi im not shure if i get the question, the jw is a good solution Why you dont make something like the client log in and a php script create a page with the jw code with the client advert path in the jw code or the php echo the jw code like <?php echo '<html><body><div>JwCodeWithClientAd</div></body></html>';?> I hop i helped with some idea
  8. Yeah you are right and i prefer the meta tag too but what if <?php echo You are watching the error; sleep(5); header("Location: http://blabla.com/"); ?>
  9. <?php while( 1 == 1 );{ $word=blablabla; $aa=get_file_contents('http://blablaurl.com/bla.bla') if (strstr($aa, "$word") == True) { echo Word found ; get_file_contents('http://blablablaSecondUrl'); exit(); }else{ } } ?> Hey this is air code i hope that this is not wrong im not shure if the loop (while()) will work . set the $word var to the text that you want to find set the http://blablaurl.com/bla.bla to the page that you want to find the text set http://blablablaSeco...laSecondUrl to the second url if the while loop dont work try other syntaxe or Do while Or try to figure it out
  10. Hi , is this good for you? <?php echo '<html><head><body><meta http-equiv="refresh" content="5; url=PUT_HERE_THE:PAGE_LINK"></head></body></html>'; ?> Just remove PUT_HERE_THE:PAGE_LINK and put the page link (http://blabla.com/page.html) or the page name (page.html) or use the php redirect and a sleep <?php sleep(10); header("Location: http://blabla.com/"); ?> i prefer the first method.
  11. i see i see =) thanks for your reply
  12. Hi all, Im realy new to php , but i already love it. Before writing more, sorry my english dont be mad plz. So i write this script to prevent dos and ddos attacks and it looks like this <?php $kk= $_SERVER['REMOTE_ADDR']; $aa="2.txt"; $bb=fopen($aa, "w"); $aa1="22.txt"; $bb1=fopen($aa1, "a"); $dd="$kk\n$kk\n$kk\n$kk\n$kk\n$kk\n$kk\n$kk\n$kk\n$kk\n$kk\n$kk\n$kk\n$kk\n$kk\n$kk\n$kk\n$kk\n$kk\n$kk\n"; $dd1="$kk\n"; fwrite($bb, $dd); fwrite($bb1, $dd1); fclose($bb); fclose($bb1); $zz= file_get_contents("2.txt"); $zz1= file_get_contents("22.txt"); if ($zz == $zz1) { echo '<html><body bgcolor="#FF000000" text="#FFFFFF" oncontextmenu="return false;"><center><font face="Verdana, Arial"><h1>ANTI DDOS!</h1><b>IP '.$kk.' Banned.<br /><p> <p />Have a bad day...!</b></font></center></body></html>'; $file="22.txt"; $linecount = 0; $handle = fopen($file, "r"); while(!feof($handle)){ $line = fgets($handle); $linecount++; } fclose($handle); if ($linecount > 20 ) unlink('22.txt'); $ht= fopen('.htaccess', "a"); $ht1= "deny from $kk\n"; fwrite($ht, $ht1); fclose($ht); exit(); }else{ $file="22.txt"; $linecount = 0; $handle = fopen($file, "r"); while(!feof($handle)){ $line = fgets($handle); $linecount++; } fclose($handle); if ($linecount > 20 ) unlink('22.txt'); } $aaa= $_SERVER['REQUEST_METHOD']; if ($aaa == POST) { $ht= fopen('.htaccess', "a"); $ht1= "deny from $kk\n"; fwrite($ht, $ht1); fclose($ht); echo '<html><body bgcolor="#FF000000" text="#FFFFFF" oncontextmenu="return false;"><center><font face="Verdana, Arial"><h1>ANTI DDOS!</h1><b>IP '.$kk.' Banned.<br /><p> <p />Have a bad day...!</b></font></center></body></html>'; exit(); }else{ } ?> hmmm... what it does is: if the last 20 ips entering the website are the same, it ban the ip cause may be a dos attempt, to enter the website the browser or the client have to do a GET request, so if any one do a POST request it ban the ip. So i have this php doubht is there any function that allow me to know the amount of data sent by the user to the server?
×
×
  • Create New...

Important Information

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.