DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 7th April 2012
0xicl33n 0xicl33n is offline
New User
 
Join Date: Apr 2012
Location: /dev/null
Posts: 2
Thanked 0 Times in 0 Posts
Default Linux veteran hopping to UNIX

More of an introduction and then a couple questions..

So, i've been using linux since fedora core 6. I'm 21 years old, and currently a student in berkeley, studying for my certification in ethical hacking, and penetration testing of networks. I , in fact have a real pufferfish skeleton hanging from my ceiling(HE LOOKS LIKE PUFFY!) I feel as if, the pufferfish ive had my whole life has been telling me."OPENBSD IS THE RIGHT CHOICE!" I remember using openbsd when it was at version 4.8. I've decided, that, as a security professional in the making. I should make the swap to UNIX, that and to get in touch with my Unix roots.

That being said, i have a few projects im working on. First is a very simple script that will be executed after installation and setup exactly what i want. When i tried at school, my wildcard function wasnt working.

Code:
 !/bin/sh
echo
echo OpenBSD 5.0 quick installer (FTP version) 
echo '{ xfce4 - term - firefox - slim - feh - nmap - metasploit - nessus }'
echo
echo by 0xicl33n
echo
echo
echo
echo
echo making cache and prepping for install
mkdir /home/root/installcache
export PKG_CACHE=/home/root/installcache
export PKG_PATH="ftp://ftp.openbsd.org/pub/OpenBSD/5.0./packages/i386/"
pkg_add -i -vv nano
pkg_add -i -vv xfce4-*
pkg_add -i -vv xfdesktop-*
pkg+add -i -vv slim*-*
pkg_add -i -vv firefox


I would like to compile my own version of OpenBSD, springloaded with functional penetration testing tools (like, nmap, metasploit, nessus, etc)
You might say, why not use backtrack? But, backtrack isnt supported on so many ranges of old hardware, one of my fetishes is bringing old old computers back to life, and making them work. As servers, or whatever. Ill make another post about a laptop i would like to be using, but thats a different thread.
In addition to a script that pulls everything from the internet, i would like to have something that rips all of the packages from the cd that im going to make, incase the computer doesnt have LAN connection. I know how to get the packages, but how would i make sure all the dependencies are there?

i also plan on buying the absolute openbsd book and ssh mastery!


Im glad to have found a community of BSD fans, i hope i can make some friends here, and learn a lot

Reply With Quote
  #2   (View Single Post)  
Old 7th April 2012
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 2,888
Thanked 190 Times in 160 Posts
Default

Quote:
Originally Posted by 0xicl33n View Post
I would like to compile my own version of OpenBSD, springloaded with functional penetration testing tools (like, nmap, metasploit, nessus, etc)
Welcome!

You might want to consider coming up with the scripts to customize installation/upgrading. Studying Section 4.14 of the FAQ is a start. Threads can be found on the topic as well. eg.

http://www.daemonforums.org/showthre...t=install.site
Quote:
...how would i make sure all the dependencies are there?
Look at the print-build-depends & print-run-depends targets in the ports(7) manpage.
Reply With Quote
  #3   (View Single Post)  
Old 7th April 2012
daemonfowl daemonfowl is offline
bsdstudent
 
Join Date: Jan 2012
Location: DaemonLand
Posts: 834
Thanked 0 Times in 0 Posts
Default

Hi 0xicl33n !! Welcome to the amazing world of BSD !!
since you're from a *NIX background you will feel at home when working with OpenBSD .. this great OS is literally the best world I've happened to enter .. still a newb in the strictest sense of newbieness , OpenBSD appeal to me as it utterly does , more particularly to nerds, hackers , kernel miners, zen seekers .. one thing is sure: the more you use it , the more you love it .. I'm creeping forward like a snail .. ya but I don't think I'll move to any other OS .. Welcome mate ! Enjoy !
Reply With Quote
  #4   (View Single Post)  
Old 8th April 2012
IdOp's Avatar
IdOp IdOp is offline
Too dumb for a smartphone
 
Join Date: May 2008
Location: twisting on the daemon's fork(2)
Posts: 566
Thanked 14 Times in 13 Posts
Default

Welcome 0xicl33n.
Quote:
... how would i make sure all the dependencies are there?
I once needed to do this too. The solution I stumbled upon was, that once you have a package, you can grep the +CONTENTS file for ^@depend. And recurse. I don't know if this is the best way but it worked for me at the time.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
FreeBSD FreeBSD: A Faster Platform For Linux Gaming Than Linux? vermaden News 6 15th September 2011 03:45 AM
Other Another Linux Security Breach (this time at Linux Foundation) vermaden News 0 12th September 2011 07:00 AM
New linux & unix installs with old raid/lvm set-up th3professor Other BSD and UNIX/UNIX-like 2 7th July 2010 10:08 AM
linux compat and linux-only drivers fbsduser FreeBSD General 9 22nd January 2009 05:42 PM
Linux is copy of Unix - Says Darl McBride mfaridi Off-Topic 13 8th June 2008 08:15 PM


All times are GMT. The time now is 09:45 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick