--- dmitry-1.3a.orig/debian/changelog +++ dmitry-1.3a/debian/changelog @@ -0,0 +1,11 @@ +dmitry (1.3a-1build1) bionic; urgency=high + + * No change rebuild to pick up -fPIE compiler default + + -- Balint Reczey Tue, 03 Apr 2018 12:19:46 +0000 + +dmitry (1.3a-1) unstable; urgency=low + + * Initial release (Closes: #479121) + + -- Runa Sandvik Tue, 03 Mar 2009 14:45:02 +0100 --- dmitry-1.3a.orig/debian/compat +++ dmitry-1.3a/debian/compat @@ -0,0 +1 @@ +7 --- dmitry-1.3a.orig/debian/control +++ dmitry-1.3a/debian/control @@ -0,0 +1,16 @@ +Source: dmitry +Section: net +Priority: extra +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Runa Sandvik +Build-Depends: cdbs, debhelper (>= 7), autotools-dev +Standards-Version: 3.8.0 +Homepage: http://www.mor-pah.net/index.php?file=projects/dmitry + +Package: dmitry +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Deepmagic Information Gathering Tool + DMitry is a UNIX/(GNU)Linux command line application written in C. + DMitry can find possible subdomains, email addresses, uptime information, + perform tcp port scan, whois lookups, and more. --- dmitry-1.3a.orig/debian/copyright +++ dmitry-1.3a/debian/copyright @@ -0,0 +1,25 @@ +This package was debianized by Runa Sandvik +on Tue, 03 Mar 2009 14:45:02 +0100 + +It was downloaded from http://www.mor-pah.net/index.php?file=projects/dmitry + +Copyright (C) 2001 - 2005 by James Greig + +License: + + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 3 of the License. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, + MA 02110-1301, USA. + +On Debian systems, the complete text of the GNU General +Public License version 3 can be found in `/usr/share/common-licenses/GPL-3'. --- dmitry-1.3a.orig/debian/rules +++ dmitry-1.3a/debian/rules @@ -0,0 +1,7 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses cdbs. Originaly written by Robert Millan. +# This file is public domain. + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/autotools.mk + --- dmitry-1.3a.orig/docs/dmitry.1 +++ dmitry-1.3a/docs/dmitry.1 @@ -1,4 +1,4 @@ -.TH DMitry 1 "March 2006" "1.3a" +.TH DMitry 1 .SH NAME DMitry - Deepmagic Information Gathering Tool .SH SYNOPSIS @@ -6,112 +6,84 @@ [Options] host .br .SH DESCRIPTION -DMitry (Deepmagic Information Gathering Tool) is a UNIX/(GNU)Linux Command -Line program coded purely in C with the ability to gather as much information +DMitry (Deepmagic Information Gathering Tool) is a UNIX/(GNU)Linux +command line application with the ability to gather as much information as possible about a host. -DMitry has a base functionality with the ability to add new functions. Basic functionality of DMitry allows for information to be gathered about a -target host from a simple whois lookup on the target to UpTime reports and TCP portscans. +target host from a simple whois lookup on the target to uptime reports and TCP portscans. The application is considered a tool to assist in information gathering when information is required quickly by removing the need to enter multiple commands and the timely process of searching through data from multiple sources. -To get straight into DMitry without reading this document, you can initially -type "dmitry target", this will perform the majority of functions on the target. - .SH OPTIONS Options should be passed to DMitry in the form of '-option'. Only options known by DMitry will be used and others will be ignored. If options are not passed as a group block, the trailing options will be considered a host target. .TP .B -o filename -Create an ascii text output of the results to the "filename" specified. If no output filename is specified +Create an ascii text output of the results to the filename specified. If no output filename is specified then output will be saved to "target.txt". If this option is not specified in any form output will be sent to -the standard output (STDOUT) by default. This option MUST trail all other options, i.e. "./dmitry -winseo target". +the standard output (STDOUT) by default. This option MUST trail all other options, i.e. "dmitry -winseo target". .TP .B -i -Perform an Internet Number whois lookup on the target. This requires that the target be in the form of a 4 part Internet Number -with each octal seperated using the `.' notation. For example, "./dmitry -i 255.255.255.255". +Perform an Internet Number whois lookup on the target IP address. .TP .B -w -Perform a whois lookup on the 'host' target. This requires that the target be in a named character format. -For example, "./dmitry -w target" will perform a standard named whois lookup. +Perform a whois lookup on the host target. .TP .B -n -Retrieve netcraft.com data concerning the host, this includes Operating System, Web Server release and UpTime information -where available. +Retrieve netcraft.com data concerning the host, this includes operating system, web server release and uptime information where available. .TP .B -s -Perform a SubDomain search on the specified target. This will use serveral search engines to attempt to locate sub-domains -in the form of sub.target. There is no set limit to the level of sub-domain that can be located, however, there is a maximum +Perform a subdomain search on the specified target. This will use serveral search engines to attempt to locate subdomains +in the form of sub.target. There is no set limit to the level of subdomain that can be located, however, there is a maximum string length of 40 characters (NCOL 40) to limit memory usage. Possible subdomains are then reversed to an IP address, if this comes back positive then the resulting subdomain is listed. However, if the host uses an asterisk in their DNS records all resolve subdomains will come back positive. .TP .B -e -Perform an EmailAddress search on the specified target. This modules works using the same concept as the SubDomain search by -attempting to locate possible e-mail addresses for a target host. The e-mail addresses may also be for possible sub-domains of -the target host. There is a limit to the length of the e-mail address set to 50 characters (NCOL 50) to limit memory usage. +Perform an e-mail address search on the specified target. This modules works using the same concept as the subdomain search by +attempting to locate possible e-mail addresses for a target host. The e-mail addresses may also be for possible subdomains of +the target host. There is a limit to the length of the e-mail address set to 50 characters (NCOL 50) to limit memory usage. .TP .B -p -Perform a TCP Portscan on the host target. This is a pretty basic module at the moment, and we do advise users to use something -like nmap (www.insecure.org/nmap/) instead. This module will list open, closed and filtered ports within a specific range. -There will probably be little advancement upon this module, though there will be some alterations to make it a little more user -friendly. There are also other options for this module that can affect the scan and its relative output. +Perform a TCP portscan on the host target. This module will list open, closed and filtered ports within a specific range. .TP .B -f -This option will cause the TCP Portscan module to report/display output of filtered ports. These are usually ports that have been +This option will cause the TCP portscan module to report/display output of filtered ports. These are usually ports that have been filtered and/or closed by a firewall at the specified host/target. This option requires that the '-p' option be passed as a previous option. -For example, "./dmitry -pf target". +For example, "dmitry -pf target". .TP .B -b -This option will cause the TCP Portscan module to output Banners if they are received when scanning TCP Ports. This option requres -that the '-p' option be passed as a previous option. For example, "./dmitry -pb target". +This option will cause the TCP portscan module to output banners if they are received when scanning TCP ports. This option requires +that the '-p' option be passed as a previous option. For example, "dmitry -pb target". .TP .B -t -This sets the Time To Live (TTL) of the Portscan module when scanning individual ports. This is set to 2 seconds by default. -This is usually required when scanning a host that has a firewall and/or has filtered ports which can slow a scan down. +This sets the Time To Live (TTL) of the portscan module when scanning individual ports. This is set to 2 seconds by default. +This is usually required when scanning a host that has a firewall and/or has filtered ports which can slow down a scan. + .SH EXAMPLES -This section presents some example queries that can be made using dmitry. The hosts and targets used in the examples -are merely used for demonstration. +This section presents some example queries that can be made using dmitry. -.B dmitry -w example-host.com +.B dmitry -w mydomain.com This will perform a named whois (INIC-WHOIS) lookup on the target host, displaying results to the standard output (STDOUT). -.B dmitry -winsepo sometextfile.txt example-host.com +.B dmitry -winsepo sometextfile.txt mydomain.com This will perform all the basic functions on the target host and store all the output into "sometextfile.txt". -.B dmitry -winsepo example-host.com +.B dmitry -winsepo mydomain.com -This will perform all the basic functions on the target host and store all the output into "example-host.com.txt". +This will perform all the basic functions on the target host and store all the output into "mydomain.txt". .B dmitry -winsepfbo 127.0.0.1 -This will perform all the basic functions on the target host and store all the output into "127.0.0.1.txt". This -will also display banners and show filtered ports. - -.SH BUGS - -Bugs? if you find any e-mail me at james@mor-pah.net with information your OS, what caused the problem, the error, suggestions etc. -Thanx - -.SH DISTRIBUTION +This will perform all the basic functions on the target host and store all the output into "127.0.0.1.txt". This will also display banners and show filtered ports. -DMitry, Deepmagic Information Gathering Tool is Copyright (C) 2001 - 2005 by James Greig. - -Source code is provided with this software to allow users and developers to understand the software for security auditing purposes. -We allow users to view the source code so that they are able to port the software to different Operating Systems with the ability to locate bugs and so forth. .SH AUTHOR -.B Programmer/Creator -.br -James Greig - James@mor-pah.net - http://www.mor-pah.net -.br -.br -.B Conceptual Design -.br -Phased - http://www.deepmagic.org.uk +This manual page was written by Runa Sandvik , +for the Debian GNU/Linux system (but may be used by others).