mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-20 08:27:15 +00:00
Add manipulate_data, a set of tools to search data on a harddrive/partition/file,
extract the part you are interested in, and write it back after you modified it. PR: ports/69555 Submitted by: bugghy <bugghy@phenix.rootshell.be>
This commit is contained in:
parent
18fa8363e2
commit
7f11d466fb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=114714
@ -182,6 +182,7 @@
|
||||
SUBDIR += lxnb
|
||||
SUBDIR += mac-robber
|
||||
SUBDIR += makepasswd
|
||||
SUBDIR += manipulate_data
|
||||
SUBDIR += mcrypt
|
||||
SUBDIR += md5crk
|
||||
SUBDIR += md5deep
|
||||
|
29
security/manipulate_data/Makefile
Normal file
29
security/manipulate_data/Makefile
Normal file
@ -0,0 +1,29 @@
|
||||
# New ports collection makefile for: manipulate_data
|
||||
# Date created: 24 Jul 2004
|
||||
# Whom: bugghy <bugghy@SAFe-mail.net>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= manipulate_data
|
||||
PORTVERSION= 1.3
|
||||
CATEGORIES= security
|
||||
MASTER_SITES= http://packetstormsecurity.org/groups/thc/
|
||||
|
||||
MAINTAINER= bugghy@SAFe-mail.net
|
||||
COMMENT= Search/extract/write raw data
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/read_data ${PREFIX}/sbin
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/write_data ${PREFIX}/sbin
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/search_data ${PREFIX}/sbin
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/replace_data ${PREFIX}/sbin
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/CHANGES ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
2
security/manipulate_data/distinfo
Normal file
2
security/manipulate_data/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
MD5 (manipulate_data-1.3.tar.gz) = 55dc5d38364a12f26e865ea2e5dadb26
|
||||
SIZE (manipulate_data-1.3.tar.gz) = 6593
|
11
security/manipulate_data/files/patch-read_data.c
Normal file
11
security/manipulate_data/files/patch-read_data.c
Normal file
@ -0,0 +1,11 @@
|
||||
--- read_data.c.orig Wed Jul 7 17:00:30 2004
|
||||
+++ read_data.c Sun Jul 25 23:36:58 2004
|
||||
@@ -32,7 +32,7 @@
|
||||
if (sizeof(start) < 8)
|
||||
start = atol(argv[2]);
|
||||
else
|
||||
- start = atoll(argv[2]);
|
||||
+ start = strtoll(argv[2], (char **)NULL, 10);
|
||||
bytes = atol(argv[3]);
|
||||
|
||||
if ((bytes < 1) || (bytes > MAX_SIZE)) {
|
11
security/manipulate_data/files/patch-write_data.c
Normal file
11
security/manipulate_data/files/patch-write_data.c
Normal file
@ -0,0 +1,11 @@
|
||||
--- write_data.c.orig Wed Jul 7 16:58:54 2004
|
||||
+++ write_data.c Sun Jul 25 23:37:48 2004
|
||||
@@ -49,7 +49,7 @@
|
||||
if (sizeof(start) < 8)
|
||||
start = atol(c_ptr2);
|
||||
else
|
||||
- start = atoll(c_ptr2);
|
||||
+ start = strtoll(c_ptr2, (char **)NULL, 10);
|
||||
bytes = atol(c_ptr);
|
||||
if (sizeof(start) < 8)
|
||||
sprintf(tmpbuf, "%lu.%lu", (unsigned long) start, bytes);
|
7
security/manipulate_data/pkg-descr
Normal file
7
security/manipulate_data/pkg-descr
Normal file
@ -0,0 +1,7 @@
|
||||
Search data on a harddisk/partition/file, extract the part you are interested
|
||||
in, and write it back after you modified it.
|
||||
|
||||
WWW: http://www.thc.org
|
||||
|
||||
- bugghy
|
||||
bugghy@SAFe-mail.net
|
7
security/manipulate_data/pkg-plist
Normal file
7
security/manipulate_data/pkg-plist
Normal file
@ -0,0 +1,7 @@
|
||||
sbin/read_data
|
||||
sbin/replace_data
|
||||
sbin/search_data
|
||||
sbin/write_data
|
||||
%%PORTDOCS%%%%DOCSDIR%%/CHANGES
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
Loading…
Reference in New Issue
Block a user