reverse-engineering

Sniffing/logging your own Android Bluetooth traffic

孤街醉人 提交于 2019-12-17 05:38:08
问题 I recently bought chinesse device that connects via bluetooth with android phone / tablet. Since there is no application availible for windows / linux I want to create one for personal usage. Usually phone connects to the device and exchanges some data. I connected PC to the device and looked into serial debugger and menaged to discover the protocol (one way only). Phone sends only one command to the device. But this time I'm not able to find out what it containts. Is there any software that

List of all index & index columns in SQL Server DB

 ̄綄美尐妖づ 提交于 2019-12-16 23:01:57
问题 How do I get a list of all index & index columns in SQL Server 2005+? The closest I could get is: select s.name, t.name, i.name, c.name from sys.tables t inner join sys.schemas s on t.schema_id = s.schema_id inner join sys.indexes i on i.object_id = t.object_id inner join sys.index_columns ic on ic.object_id = t.object_id inner join sys.columns c on c.object_id = t.object_id and ic.column_id = c.column_id where i.index_id > 0 and i.type in (1, 2) -- clustered & nonclustered only and i.is

create a new installable zip from a ( already installed ) Joomla 1.7 component

陌路散爱 提交于 2019-12-13 20:36:34
问题 I've Joomla 1.7 and lots of component in it. I'd like to make a "reverse-engineering" of the install of a component. I've edited most part of it and i'd like to repack this to install in a new fresh Joomla installation. Any idea? thanks! 回答1: It's fairly straight forward - you download all the related files then zip them up with a new XML manifest. Of course you have to make sure that you get all of the files because they can be located in a couple different places. Luckily, the Joomla

Write non-ASCII characters to stdin of a progam on a tty (over ssh)

坚强是说给别人听的谎言 提交于 2019-12-13 18:24:26
问题 I'm SSHd into a remote server with some binary challenges. At one point it asks for me to input text. I know it's using fgets() to read stdin , and that I can overflow where it is being copied to and overwrite a nearby variable. The problem is I don't know how to type the address values I need, \x84 and \x04 etc. If I were able to use bash I would echo -ne "\x84" or use a C hex array but I can't do that kind of thing here. I've tried using a hex to ASCII converter and copying the binary

ELF Relocation reverse engineering

為{幸葍}努か 提交于 2019-12-13 14:28:28
问题 I am hoping you guys could help me understand how relocation entries and ELF section data are related, and how it is all processed and generated. I have an ancient unsupported tool that takes an ELF file and a related PLF file (partially linked file, generated earlier in the build process) and builds a custom relocatable file from it that is used on a platform (PPC) with tight memory constraints. This works fine except that it contains about a meg of initialization code that we want to unload

Reverse-engineering asm using sub / cmp / setbe back to C? My attempt is compiling to branches

无人久伴 提交于 2019-12-13 14:14:38
问题 this is the assembly code i am supposed to translate: f1: subl $97, %edi xorl %eax, %eax cmpb $25, %dil setbe %al ret heres the c code I wrote that I think is equivalent. int f1(int y){ int x = y-97; int i = 0; if(x<=25){ x = i; } return x; } and heres what I get from compiling the C code. _f1: ## @f1 .cfi_startproc %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp ## kill: def %edi killed %edi def %rdi leal -97(%rdi), %ecx xorl %eax,

Add custom menu items to the Finder context menu

懵懂的女人 提交于 2019-12-13 13:35:03
问题 How do I add custom menu items to the context menu for files in Finder? Unfortunately, most of the information out on the Internet and on Stack Overflow doesn't work in 10.6 or are too limited. Automator, for example, doesn't allow you to create items dynamically or create submenus. I know it's still possible to do this sort of thing because Dropbox and FolderGlance both do similar things. Does anyone know how they implemented this? Thanks. 回答1: I downloaded FolderGlance and it appears to use

Eclipse plugin or a Open source tool to reverse engineer java code for sequence diagram

China☆狼群 提交于 2019-12-13 11:46:21
问题 I am looking out for a eclipse plugin or an open source tool to reverse engineer the sequence diagrams. I tried using Alto UML, but it just gives out sequence diagram of the class chose. I would like to have a sequence diagram of the whole call stack with methods, input arguments and output arugments as well. Could you please let me know some pointers on this? Thanks! 回答1: Take a look at the MoDisco open source eclipse project MoDisco 回答2: Architexa does have sequence diagrams for the whole

How to extract all functions out of a compiled elf file,even the function has no symbol [closed]

一世执手 提交于 2019-12-13 11:14:36
问题 Closed . This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 12 months ago . IDA can do this:some function with no symbol will named with 'sub_address'. How can I do this at runtime. enter image description here 回答1: How to extract all functions out of a compiled elf file,even the function has no symbol You don't define what is a function for you (and you really should).

How to encrypt the content assets folder in phonegap android application

徘徊边缘 提交于 2019-12-13 04:56:25
问题 I have developed a sample android application using phonegap,If someone reverse engineers the apk file,They can easily get the javascript,html files . What is the best way to secure javascript and html files in the assets folder since i will be defining lot of api keys in the javascript source files which should be hidden. 回答1: @mahesh 1) Some time ago I have same problem but on iOS. And the result was only after patching PhoneGap for iOS. I have wrote an article at http://oleksiy.pro/2011/09