Questions tagged [command-line]

Command line is the basic interface between a human and an operating system. It consists of a prompt, and lets the human type text commands.

Filter by
Sorted by
Tagged with
0
votes
0answers
42 views

Command line method to disassemble to a valid .asm file?

I'm trying to automate the disassembly of multiple .o files at once, and need the output to be in a valid .asm file. Is there a way to do this? I've been attempting to use objdump, but the output isn'...
1
vote
1answer
21 views

How to specify path of output database in IDA Pro?

I'm trying to generate IDB files from the command-line using the -o flag of IDA, something like this: ida.exe -B input.dll -oC:\Results\input.idb. However, it seems that the value of the -o arguments ...
1
vote
1answer
434 views

How do I read this decompiled code?

I want to know what command line arguments are accepted by an application. I have decompiled it using Ghidra and found a function called ParseCommandLine, but I don't understand what it is doing. I ...
1
vote
2answers
349 views

When trying to change command line, received an error: “Could not set command line!”

I download CurrPort program and run it on xdbg64. I pressed File -> Changed Command line and changed the command line to: "C:\Users\myusername\Downloads\cport\cports.exe" "/close * * 127.0.0....
1
vote
0answers
106 views

Is there any way to execute Hopper scripts from command line?

What should I do if I have a batch of binaries to decompile with Hopper? I know how to run a Hopper script in the UI interface, is there any way to run Hopper scripts from command line? Or any other ...
1
vote
1answer
2k views

Running script on the command line with IDA Pro 7.0

I'm trying to run a script with IDAPython on Windows: PS: C:\Users\user\Downloads> ida.exe -S"tmp.py" -t >> PS: C:\Users\user\Downloads> and I had to press Ctrl+C to get out of the >&...
3
votes
2answers
2k views

How to find obfuscated hidden command line parameters?

The Amazon KindleGen command line app (Windows, macOS, Linux download links) has several undocumented command line parameters that I'm curious about. One of these hidden command line parameters is: -...
1
vote
1answer
311 views

Can a RTMPS stream be authenticated by a cookie?

After performing an mitm attack I discovered that the Nest mobile application appears to use a cookie as authentication to access data. It receives a response that gives an RTMPS address, but it seems ...
2
votes
1answer
1k views

Segments start address is different in IDApython when invoked thrg cmd prompt

I am able to get Segments start address, end address and all functions of a DLL through follwoing ida python script: # Get the segment's starting address ea = ScreenEA() print(ea) print(...
1
vote
2answers
83 views

How do cmd arguments are loaded to process memory before they're passed to main?

My question is how cmd arguments are passed from the shell to the process memory ? How the loader loads them and if there are passed with some sort of syscall ? ill be happy if some one can explain in ...
-1
votes
1answer
6k views

How to decrypt data in binary file by XOR operator using a given key at specific offset? [closed]

I've a binary data files which are encrypted by a simple XOR cipher using a given key at offset +0x88 (which is 0x80 long), then the data (+0x108) is compressed by lzo1x. What would be the most ...
1
vote
1answer
3k views

How to run automatically executable from CLI using lldb?

In gdb, I can run automatically the binary as (as per this post): gdb -ex run /bin/true What's the equivalent parameter for lldb? This works: echo run | lldb /bin/true but I'd like to back to ...
3
votes
1answer
784 views

Command for Command line plugin does not work

I need to analyse a sample which creates a child process. I want to analyze the child process, too, but I have the following problem. Therefore, I take the command line plugin for my olldbg v1.10 and ...