Questions tagged [php]
PHP is an open-source server-side scripting language widely used in web development. Use this tag for questions about PHP functions, syntax and use.
13 questions
1
vote
0
answers
175
views
Intercepting a PHP module with frida
I have a PHP module, and I'm trying to hook the functions of that module.
...
39: 0000000000024a60 1858 FUNC LOCAL DEFAULT 12 zim_ClassName_ClassName_exec
...
90: 0000000000028f10 8 ...
1
vote
0
answers
168
views
How can I decode this Malicious php code?
I found this backdoor on a client's website.
https://github.com/baogiaphucthinh/Malicious-php/blob/main/1259da6sc.php (original file)
I have gotten rid of it and realise it's an obfuscated script but ...
-2
votes
1
answer
113
views
Can any one de-obfuscator this php code [closed]
my developer has changed all his contact info and i am unable to contact him
and i want to move my site to another server but because of this obfuscator code in my php script i am unable to move my ...
3
votes
0
answers
3k
views
Deobfuscate PHP that contains - goto
I've found a bunch of obfuscated PHP scripts in my server but it seems I cannot deobfuscate them to follow the code flow. I came to the conclusion that the files have been obfuscated with https://www....
-1
votes
4
answers
1k
views
Decrypting authorization PHP script
Description
I asked for help on freelancing, for the finalization of the project in PHP. All this worked well until I needed to edit the authorization mechanism. Having opened the file, I found that ...
1
vote
0
answers
217
views
How to dump PHP backtrace on live running script in lldb?
I'm trying to print PHP backtrace of the live running script using the following 2 simple steps:
Run PHP script as:
php -r "sleep(1000);"
On another console, I've called directly ...
6
votes
1
answer
4k
views
How to get current PHP function name in gdb?
I'm following these steps to locate the current PHP function call as below:
Run dummy script:
$ gdb -ex run --args php -r "sleep(10);"
Pressed Ctrl+C to get back to gdb to run:
(gdb) bt full
#1 ...
7
votes
1
answer
2k
views
How can I decode this php code?
I found this backdoor on a client's website.
http://pastebin.com/wVs8w44v (original format)
http://pastebin.com/acfx49QJ (semi - readable)
I have gotten rid of it and realise it's an obfuscated ...
1
vote
1
answer
1k
views
Decoding eAccelerator PHP code?
Well I'm unsure if this is the correct site to use but how would I go about decoding/decrypting PHP code which is encoded/encrypted using eAccelerator?
<?php
session_start();
?>
<?php /*This ...
3
votes
1
answer
1k
views
Is there any documentation or examples of PHP bytecode?
I'm trying to reverse engineer a PHP obfuscator. I know that it pre-compiles the PHP to bytecode, so the recovery of original PHP source is out of scope, but I would still like to get the bytecode out....
3
votes
0
answers
389
views
How to quickly/easily make an analysis (reverse engineering) of the code of unknown CMS or framework on PHP? [closed]
I would like to know what tools and techniques do you use for rapid analyze of unknown code CMS or framework. If more specifically that for the following tasks:
1. To locate the file (s) html ...
15
votes
7
answers
11k
views
How to see what data is being transmitted when an application calls home?
Always wondered how it would be possible to see what data is being transmitted back and forth with an application that calls home.
Let's say we emulate the server via host file redirect. Would it be ...
7
votes
4
answers
426
views
Secure RE-ing a PHP script
I have a very messy PHP script of which I need to determine the function. I can't quite understand the code, it's really messy. Now I thought that I perhaps could reverse engineer this script.
What I ...