
unknown1
Members-
Posts
128 -
Joined
-
Last visited
Everything posted by unknown1
-
I am using $_GET[] values to run sql queries on my database and display results.... What I want to know it this safe to do so, if I am using PDO prepared statements, and binding the $_GET values with ids in my query... addition I am escaping the values before they hit the browser. Do I need to consider anything else to do this safely?
-
it's always a number with the 8.99 format
-
(.*(?=http))(http:\/\/.*?(?=\s))(.*) works however, it doesn't stop after the 8.99 like it should.
-
How would I go about finding this pattern? some random text http://www.somesite.com/en/bluhbluhbluh/?partner=compare&cy=EN woot 8.99 i tried [A-Za-z][\n]{0,}[http\://[a-zA-Z0-9\-\.]+\.[a-zA-Z]{2,3}(/\S*)?]{0,}[\n]{0,}[A-Za-z0-9\.] only this part http\://[a-zA-Z0-9\-\.]+\.[a-zA-Z]{2,3}(/\S*)?]{0,}[\n]{0,}[A-Za-z0-9\. is working to find the url but can't get everything else seems like anything i put before or after http\://[a-zA-Z0-9\-\.]+\.[a-zA-Z]{2,3}(/\S*)? does nothing. Need to get "some random text" and "woot 8.99" in addition to the url
-
But Thanks!! I thought I tried it like $html = file_get_html("http://".$city.".somesite.com/buy-and-sell-Page".$pg."ZZisCitySearchtrue"); already...
-
$html = file_get_html("http://".$city."somesite.com/buy-and-sell-Page".$pg."ZZisCitySearchtrue"); // doesn't work because it should be a sub domain like $html = file_get_html("http://".$city.".somesite.com/buy-and-sell-Page".$pg."ZZisCitySearchtrue"); //but because of the extra . in the sub domain it produces an error.
-
Need help with php concatenating. $page = array('1','2','3','4','5','6','7','8','9','10','11','12', '13','14','15','16','17','18','19','20','21','22','23','24','25','26','27','28','29','30'); $city = array('ACTON','ADELANTO','AGOURA HILLS','ALAMEDA','ALAMO','ALBANY','ALHAMBRA','ALISO VIEJO'); // the code below invalid...and I can't seem to write it so it will work. Any ideas? //if you can't see the issue...it's because of the ".$city.". I know it should be ".$city." but it's suppose to be a sub-domain and with the //extra dot it gives off an error. $html = file_get_html('http://".$city.".somesite.com/buy-and-sell-Page".$pg."ZZisCitySearchtrue');
-
Yeah going to have to post some code for help my friend. =)
-
Use css. e.g. echo "<img src='images/myimage.png' border='0' width='100' height='100' style='padding:10px;'>"; The above code would give the top, left, right and bottom a 10px padding around the image. Keep in mind your image is now 120 X 120, and not 100 X 100, so you sometimes have to compensate by making the image smaller, or making the image space bigger.
-
How do I make a program out of the following code. Also what headers are required to make it work.... Do I need to create a dll file and inject to make everything work or can I just run as a regular console app?? Just need someone to explain the code and how to use it.... DWORD dwEngine = (DWORD)GetModuleHandle( "engine.dll" ); DWORD dwClientInit = dwFindPattern( dwEngine, dwClientDLL_Size, reinterpret_cast<PBYTE>(szClientDLL_Sig), szClientDLL_Mask ); LogMessage( "Base: 0x%X || Address: 0x%X || Offset: 0x%X", dwEngine, dwClientInit, dwClientInit - dwEngine ); Thanks!
-
Okay I get it now i think 0x5BD50000 0x5BF7F4DD - ___________ =0xD2F4DD is this correct?? now how do I make that code work?? show it be a dll file and be injected to work or can I make a console app?? Also how to I make this work?? dwFindPattern( dwEngine, dwClientDLL_Size, reinterpret_cast<PBYTE>(szClientDLL_Sig), szClientDLL_Mask );
-
yeah I understand how to should work but I don't understand the math i guess. how do you get the offest 0x52290000 - 0x5234CBC0 offest 0xBCBC0 0x52290000 0x5234CBC0 - ______________ 0xBCBC0 how does this work??
-
base - function??? but I don't understand how to subtract 0x52290000 - 0x5234CBC0 to get 0xBCBC0 can you explain how that works??
-
To be clear I do understand that DWORD dwEngine = (DWORD)GetModuleHandle( "engine.dll" ); gets the base address of engine.dll and that dwFindPattern(); is to find the pattern to get the function address and that LogMessage( "Base: 0x%X || Address: 0x%X || Offset: 0x%X", dwEngine, dwClientInit, dwClientInit - dwEngine ); is giving me a message showing me the base, address and finally the offset based on dwClientInit - dwEngine. but I don't understand how one would compiling it and make use of it and also how to do the calculation on getting the offset...
-
I wanted to see if someone could help me understand the following code and what I have to do to get it to work... like what header files you need and should somthing like this be an injected dll or can it be ran in a console app... also how to get a offset from a base/function address. I know it's base address - function address but when the address is like Base : 0x52290000 || Address : 0x5234CBC0 || Offset : 0xBCBC0 I dont understand how you get 0xBCBC0 as the offset. Thanks in advance!! DWORD dwEngine = (DWORD)GetModuleHandle( "engine.dll" ); DWORD dwClientInit = dwFindPattern( dwEngine, dwClientDLL_Size, reinterpret_cast<PBYTE>(szClientDLL_Sig), szClientDLL_Mask ); LogMessage( "Base: 0x%X || Address: 0x%X || Offset: 0x%X", dwEngine, dwClientInit, dwClientInit - dwEngine );