Unicornscan-Getting_Started.pdf
(
156 KB
)
Pobierz
UnicornscanDocumentation
GettingStarted
PresentedtoEndUsers
Dec3,2007
ImportantNotice:
Thisdocumentationisdistributedinthehopethatitwillbeuseful,butWITHOUTANYWARRANTY;withouteventhe
impliedwarrantyofMERCHANTABILITYorFITNESSFORAPARTICULARPURPOSE.SeetheGNUGeneralPublic
Licenseformoredetails.
Website: http://www.unicornscan.org
SFProject: http://www.sf.net/projects/osace
IRCInformation: #unicornscanofEfnet
TableofContents
1InstallingUnicornscan
1
1.1Introduction
....................................................... 1
1.1.1Requirements
.................................................. 1
1.2InstallingthePrerequisites
............................................... 1
1.2.1PostgreSQL
................................................... 1
1.2.2 libdnet
...................................................... 2
1.2.3 libtool
...................................................... 3
1.2.4 libpcap
...................................................... 3
1.3InstallingUnicornscan
................................................. 3
1.3.1Command-lineandFront-End
........................................ 3
1.3.2DownloadingUnicornscan
.......................................... 3
1.4CustomizedUNIXCompilationandinstallationfromsourcecode
........................ 4
1.4.1ConfigureDirectives
.............................................. 4
1.5CompilationProblems
................................................. 5
1.6GettingtheFront-EndWorking
............................................ 5
2Examples
6
2.1NotesAboutUsingtheTool
.............................................. 6
2.2ExampleUse
....................................................... 6
2.2.1BasicTCPSYNScan
.............................................. 6
2.2.2UDP-Protocol-Specific-PayloadBasedScanning
.............................. 6
2.2.3TCPScanning
.................................................. 7
2.2.4SavingtoPCAP
................................................. 7
2.3TCP-VariousFlags
................................................... 8
2.4CheatChartforNMAPUsers
............................................. 9
UnicornscanDocumentation
InstallingUnicornscan
CHAPTER1
Installing
Unicornscan
1.1Introduction
Unicornscancanbeinstalledfromapackageforyourdistribution.Thisguideisintendedforthosewishingtomanually
compileunicornscanfortheirspecificneeds.
Usethetableofcontentstoskipdirectlysectionsthatseemrelevanttoyou.Thisguidedescribeshowtoinstallunicornscan
onmostPOSIXplatforms.
1.1.1Requirements
Unicornscanisinconstantdevelopment.Wedoourbesttoprovidestablereleases,butthecodereliesonspecificlibraries
tobeinstalledproperlyonthesystem.ManyoftherequiredlibrariesareincludedintheUnicornscantarballfor
convienience.However,iftheconfigurescriptfindsanoldercopyofthesamelibraryalreadyinstalledonyoursystem,
itassumesthatyouintendedittouseyourpreviouslyinstalledversion.Thisisespeciallyfrustratingwithlibrariessuch
aslibpcap.
Specifically,wearecurrentlyusingthefollowinglibraries:
•libpq(forstoringresults,requiredforfront-end-comeswith
PostgreSQL
)
•
libdnet-1.11
•
libltdl-1.5.24
•
libpcap-0.9.8
1.2InstallingthePrerequisites
Thoughwedotrytobundlemanyoftheprerequisitelibrarieswiththetarball,ifyouwishtoinstallthemsystemwide,
followtheinstructionsbelow.
1.2.1PostgreSQL
AverythoroughdocumentationoninstallingandcompilingPostgreSQLisavailableat:
http://www.postgresql.org/docs/8.2/interactive/installation.html
Thequickinstallationisasfollows:
1.EnsurethatyourOS/Distributiondoesnothaveanolderversionalreadyinstalled.Ifitdoes,uninstallit.
2.Downloadthesource:
Dec3,2007
Page1
UnicornscanDocumentation
InstallingUnicornscan
$wgetftp://ftp.postgresql.org/pub/source/v8.2.5/postgresql-8.2.5.tar.gz
3.Uncompress,changedirectories,configure,make
$tarzxvfpostgresql-8.2.5.tar.gz;cdpostgresql-8.2.5;./configure;make
4.Asapriveldegeduser,makeinstall:
#makeinstall
5.Addapostgresusertothesystem:
#adduserpostgres
6.Createadirectorytostorethedatabasesandchangeownershiptothepostgresuser:
#mkdir/usr/local/pgsql/data;chownpostgres/usr/local/pgsql/data
7.Becomethepostgresuser:
#su-postgres
8.Asthepostgresuser,initializethedatabaseandstartthedatabaseservice:
$/usr/local/pgsql/bin/initdb-D/usr/local/pgsql/data
$/usr/local/pgsql/bin/postmaster-D/usr/local/pgsql/data>logfile2>&1&
9.Createatestdatabaseandconnecttoittoverifyitisfunctioningproperly:
$/usr/local/pgsql/bin/createdbtest
$/usr/local/pgsql/bin/psqltest
OncePostgreSQLisinstalled,don’tworryaboutconfiguringadditionalusers,databases,tables,etc.Thatwillbe
documentedlaterinthe
1.6
(GettingtheFront-EndWorking)section.
1.2.2libdnet
1.EnsurethatyourOS/Distributiondoesnothaveanolderversionalreadyinstalled.Ifitdoes,uninstallit.
2.Downloadthesource:
$wgethttp://easynews.dl.sourceforge.net/sourceforge/libdnet/libdnet-1.11.tar.gz
3.Uncompress,changedirectories,configure,make
$tarzxvflibdnet-1.11.tar.gz;cdlibdnet-1.11;./configure;make
4.Asapriveldegeduser,makeinstall:
#makeinstall
Dec3,2007
Page2
UnicornscanDocumentation
InstallingUnicornscan
1.2.3libtool
1.EnsurethatyourOS/Distributiondoesnothaveanolderversionalreadyinstalled.Ifitdoes,uninstallit.
2.Downloadthesource:
$wgethttp://ftp.gnu.org/gnu/libtool/libtool-1.5.24.tar.gz
3.Uncompress,changedirectories,configure,make
$tarzxvflibtool-1.5.24.tar.gz;cdlibtool-1.5.24;./configure;make
4.Asapriveldegeduser,makeinstall:
#makeinstall
1.2.4libpcap
1.EnsurethatyourOS/Distributiondoesnothaveanolderversionalreadyinstalled.Ifitdoes,uninstallit.
2.Downloadthesource:
$wgethttp://www.tcpdump.org/release/libpcap-0.9.8.tar.gz
3.Uncompress,changedirectories,configure,make
$tarzxvflibpcap-0.9.8.tar.gz;cdlibpcap-0.9.8;./configure;make
4.Asapriveldegeduser,makeinstall:
#makeinstall
1.3InstallingUnicornscan
1.3.1Command-lineandFront-End
Unicornscancanbeusedsolelyfromthecommand-line,butthisguidewillalsodetailhowtouseitwitha
PostgreSQL
poweredFront-Endtogetthemostoutofthedatacollected.
1.3.2DownloadingUnicornscan
unicornscan.org
istheofficialsourcefordownloadingunicornscansourcecodeandbinariesforunicornscan.Source
codeisdistributedinGzipcompressedtarfiles,andbinariesareavailableforLinux(.tgzformat).Findallofthisat
http://www.unicornscan.org/download.html
.
Dec3,2007
Page3
Plik z chomika:
kazbiel
Inne pliki z tego folderu:
xaces.tgz
(72 KB)
wu-tang.c
(2 KB)
unicornscan-0.4.7-4.fc8.i386.rpm
(725 KB)
unicornscan-0.4.7-2.tar.bz2
(3008 KB)
ttdbsscan.c
(2 KB)
Inne foldery tego chomika:
bnc
DoS
Finger Printing
Hijacking
Packet Generator
Zgłoś jeśli
naruszono regulamin