hello i want to get advise and help from a pro php programer for a software authentication system wut m talkint about is i have a windows software wich only works for users who purchased it with their specially generated pc key all the keys are stored in a emu database so whenever users starts their software it checks for key processes request and opens the software on their screen wut m looking here is i want to run the same system on my local host on apache so whenever i run my software it sends request to 127.0.0.1 and in return apache responses with the same answer it gets from the main host server below are some eg of request i found Request From software ===== GET /rfe/nine.php?k=5555889856440a0833e3333eb81dc9449 HTTP/1.1 Host: XX.XXX.free.XX Cache-Control: no-cache ====== Reply From server ========== HTTP/1.1 200 OK Date: Mon, 26 May 2008 21:43:53 GMT Server: Apache/ProXad [May 5 2008 17:44:06] X-Powered-By: PHP/4.4.3-dev Connection: close Content-Type: text/html can2cbh4555588944440a0833e3333eb81dc9449clk =========== Reply comes alwayz different if m not wrong with a special genrated code Can someone help me with this ? who knows about this i want to run this locally without sending request to main server and open it localy i have to make this project so if anyof you knw kindly reply here or if u wana know any more specific info about this thnx
I might be able to do this. Is the response code it sends you always can2cbh4555588944440a0833e3333eb81dc9449clk?
shoro the response code it sends is not always similar its diff HTTP/1.1 200 OK Date: Mon, 26 May 2008 21:43:54 GMT Server: Apache/ProXad [May 5 2008 17:44:06] X-Powered-By: PHP/4.4.3-dev Connection: close Content-Type: text/html óãóã®Ãóç®ùáèïï®ãïÃ2óãóá®Ãóç®ùáèïï®ãïÃ2óãó®Ãóç®ùáèïï®ãïÃ2ãó±µ®Ãóç®äãî®ùáèïï®ãïÃ2ãó²°®Ãóç®äãî®ùáèïï®ãïÃ2ãó³°®Ãóç®äãî®ùáèïï®ãïÃ2ãó´°®Ãóç®äãî®ùáèïï®ãïÃ2ãóµ°®Ãóç®äãî®ùáèïï®ãïà === HTTP/1.1 200 OK Date: Mon, 26 May 2008 21:43:58 GMT Server: Apache/ProXad [May 5 2008 17:44:06] X-Powered-By: PHP/4.4.3-dev Connection: close Content-Type: text/html ¸°°
Hey harmeet, First you have to find out the calculations that the php is doing on the string you submit to it which in this case is k. after you find out what that calculation is then you can create your own script to do the same!
as shoro stated if the reply is static then u can do it so now here is the thing for eg i got 3 requests and i have 3 permanet answers for a single programe wut i want is if i can create a php page wich can store a if/else statement and reply with the correct ans to the correct request like if a prog calls for with a key dsadasd44444 and it is stored in if state ment so it replys with correct ans and then answer the next request and if at anypoint the program with a key diff then stored in the page requests it then it can deny its request can u or anyone do somthing like this ?? kindly reply