Re: [PHP] Extracting Source code from Binary Files(.dll,.exe.,class)
Dear Mr Jay Blanchard That is exactly my Point of Argument. Programmers who are well versed with assembly language and Programmers who have written C Compilers should be knowing the Process of Delinking and as well as Decompiling? Is it not possible for the Programmer who has written C Compiler(Who is also an assembly Language Expert) say on Unix or Windows then why not he will be able to do the reverse engineering Process of extracting the source code with 100% Reliability ?? I feel so that he should succeed with the Reverse Engineering Process of Extracting the original source code(.c files) from .exe binary file. Are you getting my Point? Pls give your opinion on this asap Thanks, Prashant A - Original Message - From: "Jay Blanchard" <[EMAIL PROTECTED]> To: "Prashant Akerkar" <[EMAIL PROTECTED]>; "Christophe Chisogne" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, November 13, 2003 7:08 PM Subject: RE: [PHP] Extracting Source code from Binary Files(.dll,.exe.,class) [snip] Step 1 : .exe binary file -- Linker (assembly language) .. .obj file/s Step 2 :.obj file/s .c (Compiler) source code file/s Is it Right or i am going somewhere illogical? [/snip] Really this cannot be done with any degree of reliability, if at all. The .obj file has been stripped of things and has had additional code placed into it. This is dependent upon the compiler (.obj files from compiler to compiler have different looks to them based on several items. Makefiles are different.).The .exe file is a translation of the .obj into assembly language. Does the compiled code you want to use have hooks into it, an API? If so you can use PHP to interact with the API. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] {ot}Extracting Source code from Binary Files(.dll,.exe.,class)
Dear Mr Jay blanchard Thanks, I feel that People who are Writing 'C' Compilers and who are Assembly Language Experts will definitely also Succeed in the Delinking and Decompiling Process of Extracting the source code. But, Aren't We By Disassembling the exe binary file, Violating the Copyrights of the Original Author who has written million lines of 'C' Code? Is it not friend? Am i Right or Wrong? Thanks & Regards, Prashant A - Original Message - From: "Jay Blanchard" <[EMAIL PROTECTED]> To: "Prashant" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, November 13, 2003 7:54 PM Subject: RE: [PHP] {ot}Extracting Source code from Binary Files(.dll,.exe.,class) [snip] Are you getting my Point? [/snip] Yes, we all get your point. Do you want to do this with PHP? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] {ot}Extracting Source code from Binary Files(.dll,.exe.,class)
Dear Mr Jay Blanchard Ha Ha Ha , Sorry for the Trouble Friend, This should not be on the php general mailing List, Thanks for Your Patience and Replies , Thanks Friend, Have a Nice Day !!! Prashant A - Original Message - From: "Jay Blanchard" <[EMAIL PROTECTED]> To: "Prashant" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, November 13, 2003 8:05 PM Subject: RE: [PHP] {ot}Extracting Source code from Binary Files(.dll,.exe.,class) [snip] Thanks, I feel that People who are Writing 'C' Compilers and who are Assembly Language Experts will definitely also Succeed in the Delinking and Decompiling Process of Extracting the source code. But, Aren't We By Disassembling the exe binary file, Violating the Copyrights of the Original Author who has written million lines of 'C' Code? Is it not friend? Am i Right or Wrong? [/snip] The answer is that "it depends". Why are you asking all of this on a PHP list? I thought I had gotten your point earlier, but I apparently did not. So, Prashant, what exactly is your point, and what does it have to do with PHP? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Fw: [PHP] {ot}Extracting Source code from Binary Files(.dll,.exe.,class)
Dear Mr Jay I also troubled you because the PHP Scripting Language looks very similar to the 'C' Programming Language. Prashant A - Original Message ----- From: "Prashant" <[EMAIL PROTECTED]> To: "Jay Blanchard" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, November 13, 2003 8:08 PM Subject: Re: [PHP] {ot}Extracting Source code from Binary Files(.dll,.exe.,class) > > Dear Mr Jay Blanchard > > Ha Ha Ha , Sorry for the Trouble Friend, This should not be on the php > general mailing List, > > Thanks for Your Patience and Replies , > > Thanks Friend, > > Have a Nice Day !!! > > Prashant A > > - Original Message - > From: "Jay Blanchard" <[EMAIL PROTECTED]> > To: "Prashant" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> > Sent: Thursday, November 13, 2003 8:05 PM > Subject: RE: [PHP] {ot}Extracting Source code from Binary > Files(.dll,.exe.,class) > > > [snip] > Thanks, I feel that People who are Writing 'C' Compilers and who are > Assembly Language Experts will definitely also Succeed in > the Delinking and Decompiling Process of Extracting the source code. > > But, Aren't We By Disassembling the exe binary file, Violating the > Copyrights of the Original Author who has written million lines of 'C' > Code? > > Is it not friend? Am i Right or Wrong? > [/snip] > > The answer is that "it depends". Why are you asking all of this on a PHP > list? I thought I had gotten your point earlier, but I apparently did > not. So, Prashant, what exactly is your point, and what does it have to > do with PHP? > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Queries Regarding File Upload and Form Object enctype attribute
Dear Mr Jay Blanchard > > There are some queries regarding PHP 4.1.As you mentioned in php 4.1 > register_globals=off. are set for security reasons. > > Is it Required to have Form attribute as enctype="multipart/form-data" if i > have a File Upload on the Particular Form. > > enctype="multipart/form-data"> > i.e > > I am Facing a Problem as when i am removing the enctype attribute in Form > object, i am able to pass form values data > from one form to another form i.e the destination form will able to retrieve > the form values, but from the source form when i keep the enctype attribute > in the source form object, i am unable to pass the values i.e the > destination form is unable to retrieve > the values passed from source form. > > Second Problem is I am unable to retrieve the image name using > $_FILES['filename']['name']; in the Destination form. > The source form has the file upload html tag > > enctype="multipart/form-data"> > i.e > > > Awaiting Your Prompt Reply, > > Thanks & Regards, > Prashant S Akerkar > > - Original Message - From: Jay Blanchard <[EMAIL PROTECTED]> To: Decapode Azur <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, November 18, 2003 6:13 PM Subject: RE: [PHP] diff [snip] Is there a php function close to the *nix diff comand? (in order to compare 2 multi-lines strings) [/snip] http://us2.php.net/manual/en/function.strcmp.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP script that fills forms ?
Dear Mr Justin There are some queries regarding PHP 4.1.As you mentioned in php 4.1 register_globals=off. are set for security reasons. Is it Required to have Form attribute as enctype="multipart/form-data" if i have a File Upload on the Particular Form. i.e I am Facing a Problem as when i am removing the enctype attribute in Form object, i am able to pass form values data from one form to another form i.e the destination form will able to retrieve the form values, but from the source form when i keep the enctype attribute in the source form object, i am unable to pass the values i.e the destination form is unable to retrieve the values passed from source form. Second Problem is I am unable to retrieve the image name using $_FILES['filename']['name']; in the Destination form. The source form has the file upload html tag i.e Awaiting Your Prompt Reply, Thanks & Regards, Prashant S Akerkar - Original Message - From: Justin French <[EMAIL PROTECTED]> To: Nathan Taylor <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]>; Anonymous <[EMAIL PROTECTED]> Sent: Wednesday, November 26, 2003 6:18 PM Subject: Re: [PHP] PHP script that fills forms ? > On Wednesday, November 26, 2003, at 09:48 PM, Nathan Taylor wrote: > > > You're not making any sense my friend. If you want to fill form field > > then supply them > > with a value="" value. There's nothing more to it. > > he wants PHP to act as a 'user at a keyboard and mouse', entering > values into a form, which of course can't be done, but my other post on > this topic offeres alternatives. > > Justin French > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Fw: [PHP] Urgent Two Queries / Problems to be Solved----------Prashant Akerkar
- Original Message - From: Prashant A <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, November 26, 2003 5:20 PM Subject: [PHP] Urgent Two Queries / Problems to be Solved--Prashant Akerkar > > Dear Mr Jeffrey Dyke > > > There are some queries regarding PHP 4.1.As you mentioned in php 4.1 > register_globals=off. are set for security reasons. > > Is it Required to have Form attribute as enctype="multipart/form-data" if i > have a File Upload on the Particular Form. > > enctype="multipart/form-data"> > i.e > > I am Facing a Problem as when i am removing the enctype attribute in Form > object, i am able to pass form values data > from one form to another form i.e the destination form will able to retrieve > the form values, but from the source form when i keep the enctype attribute > in the source form object, i am unable to pass the values i.e the > destination form is unable to retrieve > the values passed from source form. > > Second Problem is I am unable to retrieve the image name using > $_FILES['filename']['name']; in the Destination form. > The source form has the file upload html tag > > enctype="multipart/form-data"> > i.e > > > Awaiting Your Prompt Reply, > > Thanks & Regards, > Prashant S Akerkar > > > > > > > > > > > > > - Original Message - > From: <[EMAIL PROTECTED]> > To: "Prashant A" <[EMAIL PROTECTED]> > Cc: <[EMAIL PROTECTED]> > Sent: Tuesday, October 28, 2003 8:03 PM > Subject: Re: Unable to Retrieve HTML Form Values(test1.html) from a PHP > Page(test1.php) > > > > > > you need to use $_POST['test1'] > > > > http://www.php.net/register_globals > > > > php, by default has register_globals=off. for security reasons...so > you'll > > need to use $_POST, $_GET, $_FILES, $_REQUEST etc. > > > > hth > > jeff > > > > > > > > "Prashant A" > > <[EMAIL PROTECTED]To: > <[EMAIL PROTECTED]> > > thnyou.com> cc: > > Subject: Unable to > Retrieve HTML Form Values(test1.html) from a PHP Page(test1.php) > > 10/28/2003 09:23 > > AM > > > > > > > > > > > > > > > > Dear Sir > > > > Our Site is running on Linux/Apache/PHP/MySQL Combination. > > > > I am unable to retrieve the Values passed from HTML FORM(test1.html) in a > > PHP Page(test1.php) > > > > Is it something to do with the Web Server Settings or any thing > > else...? > > > > The code is as follows; > > > > Test1.html > > > > > > > > > > > > Test Page > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Test1.php > > > > > > > > > > Test Page > > > > > > > > > > > > > > > echo $text1; > > ?> > > > > > > > > > > > > > > After Submitting the form text1.html to text1.php by adding some text in > > textbox text1, i am unable to print the textbox value > > text1 in Text1.php page. > > > > Can you help me in this regard asap? > > > > Thanks & Regards, > > > > Prashant S Akerkar. > > > > > > > > > > > > > > > > > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] HTML Form with method="POST" and enctype="multipart/form-data" is not working for passing data to the web server.
Dear Friends These is my sample code test1.html New Document test1.php3 Test Page I am Facing the problem that if i use enctype="multipart/form-data" in form object then i am unable to retrieve the values passed from .html form. So if i am using a File Upload control in my form without the enctype attribute,then i get a warning message Unable to open '' for reading: No such file or directory in /home/httpd/html/fai/test1.php3 on line 12 i.e My HTML Form with Post Method and enctype attribute="multipart/form-data" is not working for passing data to the web server. The problem can be solved without the enctype attribute in the Form Tag where i can send the Data to the Web Server and the values getting retrieved in another Php Page, but what about if i have to upload a File using the File Upload control in my HTML Form. It Fails in this case where i get the warning message. Can somebody help me in this regard as soon as possible ??? Thanks, Prashant S Akerkar
Re: [PHP] fopen url
Dear Friends These is my sample code test1.html New Document test1.php3 Test Page I am Facing the problem that if i use enctype="multipart/form-data" in form object then i am unable to retrieve the values passed from .html form. So if i am using a File Upload control in my form without the enctype attribute,then i get a warning message Unable to open '' for reading: No such file or directory in /home/httpd/html/fai/test1.php3 on line 12 i.e My HTML Form with Post Method and enctype attribute="multipart/form-data" is not working for passing data to the web server. The problem can be solved without the enctype attribute in the Form Tag where i can send the Data to the Web Server and the values getting retrieved in another Php Page, but what about if i have to upload a File using the File Upload control in my HTML Form. It Fails in this case where i get the warning message. Can somebody help me in this regard as soon as possible ??? Thanks, Prashant S Akerkar - Original Message - From: "Jason Wong" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, November 08, 2003 3:37 PM Subject: Re: [PHP] fopen url > On Saturday 08 November 2003 08:21, John Hagstrand wrote: > > > Thanks for your snot. > > They were surplus to requirements so you're welcome to them. > > > The code you wrote below, > > > > > echo fopen("http://www.google.com";, 'r'); > > > echo fopen("http://news.google.com";, 'r'); > > > > I've implmented at this url. > > http://www.globalscoop.com/gs/feeds/testUrl.php > > > > You can see the error I'm getting. Would you take a look? > > No. Would you mind posting the error you're getting so that everyone can see? > And please confirm that whatever error you're getting is in response to the > exact code as above. > > -- > Jason Wong -> Gremlins Associates -> www.gremlins.biz > Open Source Software Systems Integrators > * Web Design & Hosting * Internet & Intranet Applications Development * > -- > Search the list archives before you post > http://marc.theaimsgroup.com/?l=php-general > -- > /* > Caution: Keep out of reach of children. > */ > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Extracting Source code from Binary Files(.dll,.exe.,class)
Dear Friends I have a Query. Is it Possible to extract the source code from .exe,(VB,'C',C++),.dll(VB,'C',C++) or .class(java) files. A Utility program which can be written which will extract .exe-.c source code conversion or .exe-com or .exe-.frm files,.dll-.cpp,.dll-.c source code Or is it Virtually Impossible to extract the source code ??? Do the System Level Programmers who are writing compilers,interpretors,operating systems,Device Drivers,TSR,Anti-Virus Packages, Programmers who know machine language and assembly language very well can they extract the source code? Thanks, Prashant A
Re: [PHP] Extracting Source code from Binary Files(.dll,.exe.,class)
Dear Christophe My Point is like this .c source code/file/s - .obj file/s is done by the C compiler .obj file/s -- .exe binary file is done by the Linker(Assembly Language) In the same way can we do the following steps to extract the .c source code/files as follows Step 1 : .exe binary file -- Linker (assembly language) .. .obj file/s Step 2 :.obj file/s .c (Compiler) source code file/s Is it Right or i am going somewhere illogical? Awaiting Your Prompt Reply, Thanks & Regards, Prashant A - Original Message - From: Christophe Chisogne <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, November 13, 2003 6:46 PM Subject: Re: [PHP] Extracting Source code from Binary Files(.dll,.exe.,class) > Prashant Akerkar wrote: > > Is it Possible to extract the source code from .exe, ... .class(java) files. > > [ I think you're way off-topic but... ] > > Nope. But you can try to decompile binaries or java class files. > Try googling for decompilation tools > > Note that decompiling softs can be prohibited by law enforcements > (not in Europe for interoperability reasons, but well in the US). > > Result from decompilation is not source code of course, can be made > very difficult, and result is very different from src code. > In particular case of java class files, decompilation can lead to > really good results (with bad-looking variable names tough) > > Christophe > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Urgent Two Queries / Problems to be Solved----------Prashant Akerkar
Dear Mr Jeffrey Dyke There are some queries regarding PHP 4.1.As you mentioned in php 4.1 register_globals=off. are set for security reasons. Is it Required to have Form attribute as enctype="multipart/form-data" if i have a File Upload on the Particular Form. i.e I am Facing a Problem as when i am removing the enctype attribute in Form object, i am able to pass form values data from one form to another form i.e the destination form will able to retrieve the form values, but from the source form when i keep the enctype attribute in the source form object, i am unable to pass the values i.e the destination form is unable to retrieve the values passed from source form. Second Problem is I am unable to retrieve the image name using $_FILES['filename']['name']; in the Destination form. The source form has the file upload html tag i.e Awaiting Your Prompt Reply, Thanks & Regards, Prashant S Akerkar - Original Message ----- From: <[EMAIL PROTECTED]> To: "Prashant A" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, October 28, 2003 8:03 PM Subject: Re: Unable to Retrieve HTML Form Values(test1.html) from a PHP Page(test1.php) > > you need to use $_POST['test1'] > > http://www.php.net/register_globals > > php, by default has register_globals=off. for security reasons...so you'll > need to use $_POST, $_GET, $_FILES, $_REQUEST etc. > > hth > jeff > > > > "Prashant A" > <[EMAIL PROTECTED]To: <[EMAIL PROTECTED]> > thnyou.com> cc: > Subject: Unable to Retrieve HTML Form Values(test1.html) from a PHP Page(test1.php) > 10/28/2003 09:23 > AM > > > > > > > > Dear Sir > > Our Site is running on Linux/Apache/PHP/MySQL Combination. > > I am unable to retrieve the Values passed from HTML FORM(test1.html) in a > PHP Page(test1.php) > > Is it something to do with the Web Server Settings or any thing > else...? > > The code is as follows; > > Test1.html > > > > > > Test Page > > > > > > > > > > > > > > > > > > > > Test1.php > > > > > Test Page > > > > > > > echo $text1; > ?> > > > > > > > After Submitting the form text1.html to text1.php by adding some text in > textbox text1, i am unable to print the textbox value > text1 in Text1.php page. > > Can you help me in this regard asap? > > Thanks & Regards, > > Prashant S Akerkar. > > > > > > > > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php