BSD Ports

security/libhijack 0.9.0 FreeBSD

Runtime process infection made easy

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
d4cd005d98
License
BSD2CLAUSE
Categories
security

Description

Libhijack is a tool that enables easy injection of arbitrary code during runtime. Injection is done into newly-created anonymous memory mappings, providing stealth. An API is provided for hooking the PLT/GOT, hence the "hijack" part of libhijack.

Install

Binary package:

pkg install libhijack

From the ports tree:

cd /usr/ports/security/libhijack/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	libhijack>0:security/libhijack
LIB_DEPENDS=	libdummyso.so:security/libhijack

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest-0.9.0---
FreeBSD:14:quarterly-0.9.0n/a--
FreeBSD:15:latest-0.9.0n/a--
FreeBSD:15:quarterly--n/an/an/a
FreeBSD:16:latest-0.9.0n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

No port depends on this one.

Configuration

No options to configure.

USES
uidfix
Service scripts
none

Files

pkg-plist 7
  • include/hijack.h
  • lib/libdummyso.so
  • lib/libdummyso.so.0
  • lib/libhijack.so
  • lib/libhijack.so.2
  • sbin/hijack
  • sbin/injectable
distinfo 1
FileSizeSHA256
libhijack-v0.9.0.tar.bz225916debf9412396609fa97d78729c7ddddb70e1d2e87689f6f12d97402fdcf8277f4

Commit history 1

DateCommitCreditsLog message
d4cd005d98 Yuri Victorovich security/libhijack: fix build
Reported by: fallout Approved by: portmgr@ (unbreak; blanket)