reverse-engineering

Fix bugs in .NET program without access to source

被刻印的时光 ゝ 提交于 2019-12-05 18:03:53
问题 I have a program i frequently use that is made with .NET. This program has a small bug that is very annoying and the developer to the app is nowhere to be found. I have found the location of the problem in reflector and just want to add a single if-statement here and then recompile the program. What is the easiest way to do this? I have tried using the export-function in reflector but it doesn't seem to work perfectly. For example alot of using-directives are missing and enums that are cast

Emulate PhotoShop's “Color Range” Algorithm

我们两清 提交于 2019-12-05 16:31:33
问题 I'm trying to replace a manual process done in PhotoShop with an automated process done on the server. Currently in PhotoShop the "Color Range" tool is used to select a range of colors using the "Fuzziness" factor and starting with either Black or White depending on the part of the process. My initial approaches included both using thresholds for Luminescence in the L*a*b color space as well is DE94 between the candidate color and Black/White. In both cases I selected colors that shouldn't be

What's the best practice to reverse engineering a binary file in windows? [closed]

こ雲淡風輕ζ 提交于 2019-12-05 12:32:56
Closed . This question needs to be more focused . It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post . Closed 4 years ago . In my case it's written in c/c++ ,if that matters. IDA rocks. IDA Disassembler Most reverser's are still gurus. You should first ask yourself why am I reversing? There are a few main reasons I can think of. You are trying to crack a copy protection mechanism, pirate software, or cheat in a video game. You work for an Antivirus Company and need to understand the virus or the

How can you reverse engineer a binary thrift file?

人走茶凉 提交于 2019-12-05 11:42:08
I've been asked to process some files serialized as binary (not text/JSON unfortunately) Thrift objects, but I don't have access to the program or programmer that created the files, so I have no idea of their structure, field order, etc. Is there a way using the Thrift libraries to open a binary file and analyze it, getting a list of the field types, values, nesting, etc.? Unfortunately it appears that Thrift's binary protocol does not do very much tagging of data at all; to decode it appears to assume you have the .thrift file in hand so you know, say, the next 4 bytes are supposed to be an

Programmatically edit a Google doc with JavaScript

我的梦境 提交于 2019-12-05 10:35:07
What I'm trying to do is run some JavaScript code that will enter text into a Google doc. What I have done so far is create an iframe element on my personal web page that embeds Google Docs. What I want to do, for now, is use functions from Google's source code to input the text. When I use the Chrome inspector along with a js beautifier, I found that if I listen for a keypress event, I get brought to the following code segment: function dKa() { var a = eKa, b = TJa ? function(c) { return a.call(b.src, b.key, c) } : function(c) { c = a.call(b.src, b.key, c); if (!c) return c }; return b } I

Eclipse Plugin to Convert Class Files to Java Source Code [closed]

不问归期 提交于 2019-12-05 05:49:54
Closed. This question is off-topic . It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . Is there available an Eclipse plugin to decompile class files when source is not available (generate .java source code from .class files), something similar to what Resharper does for C# in VS.NET? Alternatively, is there a plugin which enables a friendlier view of the API of a class files than the default Eclipse view? 来源: https://stackoverflow.com/questions/20046186/eclipse-plugin-to-convert-class-files-to

Cannot bind() a socket inside Apple Calendar (dylib injection)

安稳与你 提交于 2019-12-05 03:44:28
问题 I’m trying to inspect iOS 8.1's Apple Calendar ( MobileCal.app ) on Reveal following this guide. For that, I’m injecting libReveal.dylib which launches its own HTTP server to which the OS X Reveal app connects to. This technique works fine with most of iOS system apps (Phone, Notes, Reminders, etc.) but something in Calendar is preventing the HTTP server from being set up. When Calendar is run, libReveal.dylib is properly injected, but then I see this on the log: MobileCal[5110] : ERROR:

Finding constants from a decrypted iOS app executable

烈酒焚心 提交于 2019-12-05 03:01:34
问题 I'm trying to find a constant (something like a secret token) from inside of an iOS app in order to build an app using an undocumented web API (by the way, I'm not into something illegal). So far, I have the decrypted app executable on my Mac (jailbreak + SSH + dumping decrypted executable as file). I can use the strings command to get a readable list of strings, and I can use the class-dump tool (http://stevenygard.com/projects/class-dump/) to get a list of interface definitions (headers) of

Detect if Cycript/Substrate or gdb is attached to an iOS app's process?

删除回忆录丶 提交于 2019-12-05 01:10:51
问题 I am building an iOS app that transmits sensitive data to my server, and I'm signing my API requests as an additional measure. I want to make reverse engineering as hard as possible, and having used Cycript to find signing keys of some real-world apps, I know it's not hard to find these keys by attaching to a process. I am absolutely aware that if someone is really skilled and tries hard enough , they eventually will exploit, but I'm trying to make it as hard as possible, while still being

How can I determine which framework was used to build a particular Windows desktop application?

可紊 提交于 2019-12-05 00:58:09
问题 How can I determine which platform or programming language was used to build a particular Windows desktop application? 回答1: There are several ways to try and detect in which language a particular software was written. Usually, the tools that do that examine the PE Header and try to make an educated guess. Sometimes authors compress/encrypt the PE in such way that makes this detection next to impossible. There is an old tool called PEiD which can help you identify in which language was the