Giter Club home page Giter Club logo

Comments (8)

L2ksy0d avatar L2ksy0d commented on August 18, 2024 1

I found a php file on the Internet that decrypts goto encryption and tested it to prove that it works. It also uses PhP-Parser. Might it be useful for you?

It requires access to index.php on the web side.

https://pastebin.com/vq0hC7zt

Directory structure:

├─index.php
├─complete      //Decryption file output here
├─decodeFile    //Put the files you need to decrypt here
└─vendor

I use the sample (https://pastebin.com/BN3aUJAc) was tested It can be normal to restore.
Hope it helps you.

from phpdeobfuscator.

vipeweb avatar vipeweb commented on August 18, 2024

update: I tried to run several tests
but it seems ControlFlow doesn't know how to deal with Too much goto, or large scripts, maybe the cause?

still trying to find

from phpdeobfuscator.

simon816 avatar simon816 commented on August 18, 2024

The deobfuscator can remove some gotos but there is room for improvement. I have been working on this but it's been challenging. I'll have a look at the sample you've sent and see how it could be improved.

from phpdeobfuscator.

vipeweb avatar vipeweb commented on August 18, 2024

Thank you, it's a beautiful job

I'm trying to help with the project but I still haven't had much success with the GOTO calls

the rest seems to work fine just the goto's that need to be improved

from phpdeobfuscator.

andebrito avatar andebrito commented on August 18, 2024

Hello, any news about this?

i also have problem with these goto calls the deobfuscator can't handle

https://pastebin.com/BN3aUJAc

from phpdeobfuscator.

simon816 avatar simon816 commented on August 18, 2024

No updates yet.

I started working on this but haven't got something fully working yet.

from phpdeobfuscator.

vipeweb avatar vipeweb commented on August 18, 2024

@L2ksy0d

Thank you, it seems much more efficient

some goto can't seem to be resolved

line 1418 goto label1097;

which brings me to the question, why would such an efficient script have this error? I'm looking for a reason to fix it, I'm open to suggestions

original: https://pastebin.com/6wenQHaL
after decoded: https://pastebin.com/FHDpHyBj

from phpdeobfuscator.

vipeweb avatar vipeweb commented on August 18, 2024

Hi! I made an interesting discovery
only GOTO that are inside some foreach cannot be restored

example

success:

`$goto = true;
if($goto) {

goto label59;

}`

unsuccessfully

`
foreach ($a8bb73cba48fb7f6 as $e81220b4451f37c9) {
if (!(!$e81220b4451f37c9['server_online'] && $e81220b4451f37c9['enabled'] && ($e81220b4451f37c9['status'] != 3) && ($e81220b4451f37c9['status'] != 5))) {
goto label59;
}

$f0a85bb7cb144853 = true;

}`

@simon816 @L2ksy0d
have experience with php-parser have any idea what the problem is?

from phpdeobfuscator.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.