{"id":145,"date":"2004-02-19T17:41:00","date_gmt":"2004-02-19T10:41:00","guid":{"rendered":""},"modified":"2004-02-19T17:41:00","modified_gmt":"2004-02-19T10:41:00","slug":"darwinports-going-further-running-blackbox-ethereal-and-nessus","status":"publish","type":"post","link":"https:\/\/deepquest.code511.com\/blog\/2004\/02\/darwinports-going-further-running-blackbox-ethereal-and-nessus\/","title":{"rendered":"darwinPorts going further: running blackbox, ethereal and nessus"},"content":{"rendered":"<p>After couple days with<a href=\"http:\/\/darwinports.opendarwin.org\/\" title=\" darwinports\"> darwinports<\/a> it&#8217;s been a real surprise to the number of ports increasing. I remember trying this few months ago using <a href=\"http:\/\/fink.sourceforge.net\/\" title=\"fink\">fink<\/a> it&#8217;s been a real nightmare. DarwinPorts allowed me to install successfully the following ports easylily: Blackbox, ethereal, nessus. When I mean install, I mean install and run not command line but with GUI. I&#8217;ll try to post few details for installing windows manager that doesn&#8217;t work by default despite a flawless install.<!--more--><\/p>\n<p><b><i>Blackbox<\/b><\/i><\/p>\n<p>it has been the most frustrating packadge to run, I didn&#8217;t see much info about the setup.<br \/>\n1st get [url=http:\/\/www.apple.com\/macosx\/features\/x11\/download\/]apple&#8217;s X11[\/url]<\/p>\n<p>&#8211; launch terminal and do &#8220;sudo port install blackbox&#8221;<br \/>\n<i>FYI even if the install went fine you won&#8217;t be able to run it from terminal.app, it&#8217;s useless but you can try: open new terminal and type &#8220;blackbox&#8221;. You should get the following error message: &#8220;BaseDisplay::BaseDisplay: connection to X server failed.&#8221;<\/i><\/p>\n<p>-still en terminal type &#8220;cp \/etc\/X11\/xinit\/xinitrc .&#8221;<br \/>\n<i>make sur you put a space after xinitrc<\/i><br \/>\n<b>WARNING<\/b>: DO NOT EDIT \/etc\/X11\/xinit\/xinitrc, OSX could really messed up!<\/p>\n<p>-&#8220;bbedit xinitrc&#8221; if you&#8217;re lazy or &#8220;vi xinitrc&#8221;, at the bottom of the file after &#8220;# start the window manager&#8221; replace &#8220;exec quartz-wm&#8221; by &#8220;#exec quartz-wm&#8221; and add the next as follow: &#8220;exec \/opt\/local\/bin\/blackbox&#8221;<br \/>\nmeaning the 3 last lines should look like this:<br \/>\n&#8220;# start the window manager<br \/>\n#exec quartz-wm<br \/>\nexec \/opt\/local\/bin\/blackbox&#8221;<\/p>\n<p>-in terminal type &#8220;mv xinitrc . xinitrc&#8221;<\/p>\n<p>you&#8217;re done!<\/p>\n<p>Run X11, you&#8217;d see the blackbox doc at the bottom center of your window, to see it you may have to move apple&#8217;s dock on the right or left or enable auto-hidding (applekey-option-d). If you don&#8217;t see it launch it xterm doing &#8220;blackbox&#8221;<\/p>\n<p><b><i>Nessus<\/b><\/i><\/p>\n<p>Finally got a the GUI of nessus running!<\/p>\n<p>-In terminal &#8220;sudo port install nessus-core&#8221;, then &#8220;sudo port install nessus-plugins&#8221;, then &#8220;sudo port install nessus-librairies&#8221;.<\/p>\n<p><b>before<\/b> using nessus you will have to setup few things. You have to understand that nessus runs with a client-server architecture. A nessus daemon runs on your machin and you connect to it.<br \/>\nSo in first of all in terminal:<br \/>\n-run &#8220;nessus-mkcert&#8221; as <i>root<\/i> follow the instructions, you answer to the default question by pressing enter key.<\/p>\n<p>-run &#8220;nessus-adduser&#8221;<br \/>\nit will look like that:<\/p>\n<p><i>Add a new nessusd user<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br \/>\nLogin : myusername<br \/>\nAuthentication (pass\/cert) [pass] : [press enter]<br \/>\nLogin password : mypassword<br \/>\nUser rules<br \/>\n&#8212;&#8212;&#8212;-<br \/>\nnessusd has a rules system which allows you to restrict the hosts<br \/>\nthat foobar has the right to test. For instance, you may want<br \/>\nhim to be able to scan his own host only.<br \/>\nPlease see the nessus-adduser(8) man page for the rules syntax<br \/>\nEnter the rules for this user, and hit ctrl-D once you are done :<br \/>\n(the user can have an empty rules set)<br \/>\n<\/i><br \/>\nso ctrl-d and confirm the creation of the user.<\/p>\n<p>-in terminal &#8220;nessus-update-plugins&#8221;<br \/>\nit will update your [url=http:\/\/cgi.nessus.org\/plugins\/]plugins[\/url] with the latest ones.<\/p>\n<p>Now you&#8217;re ready to use Nessus.<br \/>\n-launch X11, in xterm type &#8220;nessusd&#8221; as root (it may take some times up to 60 sec to load). Open a new xterm and type &#8220;nessus&#8221;<\/p>\n<p>You will now get nessus gui running, check [url=http:\/\/www.nessus.org\/documentation.html]Nessus official documentations[\/url]<\/p>\n<p><b><i>ethereal<\/b><\/i><br \/>\n<i>ethereal is used by network professionals around the world for troubleshooting, analysis, software and protocol development, and  education. It has all of the standard features you would expect  in a protocol analyzer, and several features not seen in any other  product.<\/i><\/p>\n<p>-in terminal.app &#8220;sudo port install&#8221;<br \/>\n<i> it&#8217;ll take some times due to a lot depencies<\/i><\/p>\n<p>-Lauch X11, in xterme &#8220;sudo ethereal&#8221;<br \/>\n<i> you MUST sudo otherwise you won&#8217;t be able to select any interfaces to listen to (en0, en1 etc&#8230;)<\/i><\/p>\n<p>feel free to mail if you have any problems.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>blackbox running, ethereal, nessus<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_seopress_robots_primary_cat":"","_seopress_titles_title":"","_seopress_titles_desc":"","_seopress_robots_index":"","jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4],"tags":[],"class_list":["post-145","post","type-post","status-publish","format-standard","hentry","category-apple"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p4bBYZ-2l","_links":{"self":[{"href":"https:\/\/deepquest.code511.com\/blog\/wp-json\/wp\/v2\/posts\/145","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/deepquest.code511.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/deepquest.code511.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/deepquest.code511.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/deepquest.code511.com\/blog\/wp-json\/wp\/v2\/comments?post=145"}],"version-history":[{"count":0,"href":"https:\/\/deepquest.code511.com\/blog\/wp-json\/wp\/v2\/posts\/145\/revisions"}],"wp:attachment":[{"href":"https:\/\/deepquest.code511.com\/blog\/wp-json\/wp\/v2\/media?parent=145"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/deepquest.code511.com\/blog\/wp-json\/wp\/v2\/categories?post=145"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/deepquest.code511.com\/blog\/wp-json\/wp\/v2\/tags?post=145"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}