soldierx / libhijack Goto Github PK
View Code? Open in Web Editor NEWRuntime Process Infection Made Easy
Home Page: https://www.soldierx.com/
License: BSD 2-Clause "Simplified" License
Runtime Process Infection Made Easy
Home Page: https://www.soldierx.com/
License: BSD 2-Clause "Simplified" License
Hi Shawn,
I think you forgot to commit the rtld.h header - it is required to build on FreeBSD.
HTH,
-- khorben
Currently, only injecting shellcode is supported. Support injecting full shared objects.
When the build is run with DESTDIR/PREFIX
, install fails:
===> include (install)
install -C -o root -g wheel -m 444 /usr/ports/security/libhijack/work/libhijack-0.8.0-1-g50804aa/include/hijack.h /usr/ports/security/libhijack/work/stage/usr/local/include/
install: /usr/ports/security/libhijack/work/stage/usr/local/include/hijack.h: chown/chgrp: Operation not permitted
Most programs in the FreeBSD base have usage() explaining the options.
Hi,
I try libhijack in Ubuntu 12.04, and there is always segmentation fault. I modified a little bit your code and made it get the following output. However, it will make attach process segmentation fault. I wonder whether your code works with Ubuntu 12.04, or I make other mistake?
...
dlopen_addr: 0xb7773c50
[] Loading from /lib/i386-linux-gnu/libdl.so.2
[] parse_linkmap: linkmap->l_name: 0x b7779838
[] parse_linkmap: linkmap->l_ld: 0x b7776ec0
[] parse_linkmap: hashtable: 0x b7774fb0
numsyms: 40
dlsym_addr: 0xb7773d80
[] parse_linkmap: linkmap->l_name: 0x b7794bc5
[] parse_linkmap: linkmap->l_ld: 0x 8049f08
[] parse_linkmap: linkmap->l_name: 0x b7794bc5
[] parse_linkmap: linkmap->l_ld: 0x b777a350
[] parse_linkmap: linkmap->l_name: 0x b7779838
[] parse_linkmap: linkmap->l_ld: 0x b7776ec0
[] parse_linkmap: hashtable: 0x b7774fb0
numsyms: 40
[] parse_linkmap: linkmap->l_name: 0x b7779b00
[] parse_linkmap: linkmap->l_ld: 0x b775cd7c
[] parse_linkmap: hashtable: 0x b7756338
numsyms: 2354
filename_addr: 0xb7770000
shellcode_addr: 0xb7770035
esp: 0xbf913058
eip: 0xb777a424
func name: read
func->vaddr: 0xb7694f20
[] got[1]: 0x08049f08
[] got[2]: 0xb778f6a0
pltgot_addr: 0x0804a000
Has this been done and/or possible?
Hi i tried to compile on kali linux and also i added the source code of freebsd at /usr/src but i am having this error
Makefile:3: *** missing separator
Can you please help with that?
Regards
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.