Coder Social home page Coder Social logo

lsx-dumper's People

Contributors

zerokilo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

lsx-dumper's Issues

Editing the response

I've tried adding something like this in myEncrypt function:

char entitlements[] = R"(some
very
long
text)"
char* text = ((char*)*(DWORD*)a2);
char* new_text = nullptr;
new_text = (char*) malloc(strlen(entitlements) + 1);
strcpy(new_text, entitlements);
*(DWORD*)a2 = (DWORD)new_text;
free(text);

and it works fine - except for when my text is longer than the one I want to replace, then it crashes the game.

And I don't get something. At first IDA shows the encrypt function declaration as

class std::basic_string<char, struct std::char_traits<char>, class std::allocator<char>> __thiscall Origin::Services::Crypto::SimpleEncryption::encrypt(class std::basic_string<char, struct std::char_traits<char>, class std::allocator<char>> const &)

so I guess in short:

class std::string __thiscall Origin::Services::Crypto::SimpleEncryption::encrypt(class std::string const &)

but later, after autoanalysis it's

int __stdcall Origin::Services::Crypto::SimpleEncryption::encrypt(int, void *Src)

Do you have any tips on how to properly edit the response?

Not working anymore?

Is it something wrong with my system or Origin added some protections? When replacing the DLL, Origin doesn't start. Origin.exe appears for a second in taskmgr with like 20K memory and shortly after it disappears. Tried with both your libraries and self-compiled + winhttp from my system

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.