This is kind of an unorthodox question.
I'm kinda new to using IDA Pro.
Is there a way to edit the assembly code and then have IDA save the result as an executable?
Is there some kind of plugin maybe that does that? because it seems that IDA doesn't want to save as an EXE.
Or do I need to manually edit it in some other way?
Version 6.1+ (maybe 6.2+) of IDA Pro will allow you to apply your patches directly to the input file. Equally, it allows you to revert the changes back.
I've seen somewhere else that you'd have to produce a .diff file from there then open with a text editor and use another program to patch the original file.
Related
Disclaimer: I'm fairly new to burn...
The .exe files created by WiX Burn bundles are some type of self extracting zip archives, however they seem fairly opaque in structure and I cant find any documentation on them. For example in 7zip a Burn .exe looks like this:
Whereas a traditional .vdproj bundle (and other bootstrappers I have seen) include the bundled files verbatum in a traditional file system.
QUESTIONS:
Is the output format documented anywhere?
Is there any way to
recover the contents without installing? EDIT it seems dark.exe can do this, so 2a. is there anything outside the WiX toolkit...
Is there any way to
change the output format?
Thank you.
NB The reason I ask is that there are many circumstances (corporate IT departments say) where people extract the .msi files out of traditional bootstrappers to wrap into their own logic / examine the bootstrapper contents as part of an approval process.
No, the format for an attached container is undocumented (intentionally, so we can change it later). Today, in WiX v3.10, it's a .cab file attached to the .exe.
(a) It's possible but there are no such tools today (that I know of) other than Dark.exe.
No, not today. Obviously, you could use external payloads so they're not attached to the .exe.
The title says it all. I have an Xcode project. I have a pile of Objective-C code. I need to replace/add the copywrite for all the files. Is there an automated way to do this?
You can write a simple application that targets the existing text in all the files and replaces it with the updated version.
Depending on the format of the text you could potentially use regex
I need to edit LibreOffice Calc document programmatically in C++. I know that there is odfkit library, which uses webodf, but it looks like it doesn't support editing .ods files.
Is there any alternative that can deliver me this feature?
Libreoffice has API, called UNO, for controlling it from another process. So if you need something more complicated, that would be the simplest route.
If you just need some simple transformation, the other option is to unpack the file with plain old zip library (libzip, libarchive, ...) and modify the XML manually.
The opendocument site also mentions lpOD, but the web seems defunct and while search comes up with something that looks relevant, I am not sure whether there is anything usable.
see the SDK documentation, with many examples
Say you create a project. Then you want to do something else. You want to create another project that uses all the files of the previous project. You then modify it a little bit.
In vb.net it's simple. You just copy the vbproj file and that's it.
In objective-c copying the xcproj will result in a project file that won't compile.
Solution?
Note:
I do not want to do simple copy. If I do simple copy changes will not be propagated. I want if the fork change so will the original file.
As far as I know changing the project file name will make the project fail to compile. So just copying the project file doesn't work unless I do something wrong.
I think it's utterly ridiculous that there is no easy way to make the project work after changing the name of the xcodeproj file? I can't even open that xcodeproj file in textedit. In vb.net I can hack the project file straight. Why not in xcode?
There are two options which I would prefer :-
If there are classes which are constant and are not changing, you can make library which is called as Cocoa Touch Static Library
OR
Just copy folder to another location, rename application name and changes you want to do and run it!
Hope this info helps you..
I long for the day when you can simply choose "save as template" from Xcode(!)
In the meantime it might save you some headache to check out Project Duplicator from the AppStore. I haven't tried it out myself yet, but it sounds like it's designed to do exactly what you're asking for.
If you want to do it the manually way you could duplicate the folder with all corresponding files in the Finder and go about renaming everything from there.
You can create multiple targets for your project.
look at this link.
Usually, Blackberry library comes with JDE named "net_rim_api.jar".
Now, the problem with how we come to know the API version ?
Let me explain to avoid digress viewers at all,
suppose you just get "net_rim_api.jar" by somewhere/somehow
Totally unaware about its relevant JDE
Now, how you come to know the API version like 4.7 or .... ?
Cheers,
Amit.
Ok, 'net_rim_api.jar' as any jar is an archive, so you extract the archive to a temp folder, open any .cod file from the root folder and look through with a HEX viewer. For instance, on my PC I have 2 JDEs (4.7 and 6.0), so I extract both jars, open 'net_rim_pdap_resources.cod' (just because it is the smallest .cod file) and (hurray!) I am able to observe the desired difference by these substrings:
6.0.0.141.net_rim_cldc.net_rim_pdap_resources
4.7.0.75.net_rim_cldc.net_rim_pdap_resources
Go to the project properties and then look at the Java Build Path. It should say in Libraries tab which version you are using.