{"id":17597934,"url":"https://github.com/cvan/secinv","last_synced_at":"2025-03-29T20:27:52.976Z","repository":{"id":137964781,"uuid":"677406","full_name":"cvan/secinv","owner":"cvan","description":"Suite of tools to build a security inventory database","archived":false,"fork":false,"pushed_at":"2011-09-23T17:11:49.000Z","size":1249,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-24T09:50:19.024Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cvan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2010-05-20T16:25:42.000Z","updated_at":"2013-10-12T01:14:25.000Z","dependencies_parsed_at":"2023-04-05T14:49:22.828Z","dependency_job_id":null,"html_url":"https://github.com/cvan/secinv","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cvan%2Fsecinv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cvan%2Fsecinv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cvan%2Fsecinv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cvan%2Fsecinv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cvan","download_url":"https://codeload.github.com/cvan/secinv/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246240574,"owners_count":20745897,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-22T09:44:05.010Z","updated_at":"2025-03-29T20:27:52.881Z","avatar_url":"https://github.com/cvan.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"SecInv\n======\nSecInv consists of a Django backend, a simple XML-RPC server, and\nan XML-RPC client.\n\n# Dependencies\n\n* Apache 2 w/ mod_python (or similar)\n* MySQL 5 (or similar)\n\n# Dependencies Installed via pip\n\n* MySQLdb-1.2.3c1 (must be 1.2.1p2 or newer)\n* Django 1.2\n* django-reversion 1.3.1\n* pygments 1.3.1\n\n# Installing Packages on RedHat\nTo get started:\n\n\u003cpre\u003e\nyum install httpd mysql python-devel git\n\u003c/pre\u003e\n\n# Installing Packages on Ubuntu\n\nIf you're running a recent version of Ubuntu, you can [install the required\ndependencies automatically](apt:python-dev,python-virtualenv,libmysqlclient-dev).\nOtherwise, the following command will install the required dependencies:\n\n\u003cpre\u003e\nsudo aptitude install python-dev python-virtualenv libmysqlclient-dev\n\u003c/pre\u003e\n\n# Installing Packages on Mac OS X\n\nFirst, download and install [Homebrew](http://github.com/mxcl/homebrew), then\n[Xcode](http://developer.apple.com/technologies/xcode.html).\nFinally, you should install these following packages:\n\n\u003cpre\u003e\nbrew install python mysql git\n\u003c/pre\u003e\n\n# MySQL\n\nInitialize your MySQL environment using the following command:\n\n\u003cpre\u003e\nmysql_install_db\n\u003c/pre\u003e\n\nThen follow the instructions to start the MySQL daemon.\n\nLog in using `mysql -u root -p`, and create a database:\n\n\u003cpre\u003e\n\u003e CREATE DATABASE secinv;\n\u003e exit;\n\u003c/pre\u003e\n\n# Virtualenv\n\nUsing `easy_install`, grab `virtualenv` so we can create an isolated Python\nenvironment for development:\n\n\u003cpre\u003e\nsudo easy_install virtualenv\n\u003c/pre\u003e\n\n# Virtualenvwrapper \n\nGet `virtualenvwrapper` so we can easily activate and deactivate virtual\nenvironments from the shell.\n\n\u003cpre\u003e\ncurl http://bitbucket.org/dhellmann/virtualenvwrapper/raw/f31869779141/virtualenvwrapper_bashrc -o ~/.virtualenvwrapper\nmkdir ~/.virtualenvs\n\u003c/pre\u003e\n\nAnd, add this to your ~/.bashrc:\n\n\u003cpre\u003e\nexport WORKON_HOME=$HOME/.virtualenvs\nsource $HOME/.virtualenvwrapper\n\u003c/pre\u003e\n\nFinally, `exec bash`.\n\n# Mac OS X Virtualenv\n\nDesignate a directory to keep your projects. I prefer `~/Sites/virtualenvs`.\n\n\u003cpre\u003e\nmkdir ~/Sites/virtualenvs\ncd ~/Sites/virtualenvs\n\u003c/pre\u003e\n\nUse `git` to grab the latest copy of the development branch:\n\n\u003cpre\u003e\nmkvirtualenv --python=/usr/bin/python2.6 --no-site-packages secinv\ngit clone git://github.com/cvan/secinv.git\ncd secinv/\n\u003c/pre\u003e\n\nNow let's use `pip` to conveniently download and install all the remaining\ndependencies:\n\n\u003cpre\u003e\npip install -r requirements.txt\n\u003c/pre\u003e\n\n# Django\n\nChange directories to the Django root project directory.\n\n\u003cpre\u003e\ncd secinv/\n\u003c/pre\u003e\n\nModify the `settings.py` file as you see fit (namely, the `BASE_PATH` and\ndatabase credentials).\n\nSync the Django database models (and set up the Django admin authentication):\n\n\u003cpre\u003e\npython manage.py syncdb\n\u003c/pre\u003e\n\nAny time you want to run the development server:\n\n\u003cpre\u003e\npython manage.py runserver\n\u003c/pre\u003e\n\n# Creating a self-signed SSL certificate for XML-RPC server\n\n\u003cpre\u003e\ncd ~/\nopenssl genrsa -des3 -out server.key 4096\nopenssl req -new -key server.key -out server.csr\ncp server.key server.key.org\nopenssl rsa -in server.key.org -out server.key\nopenssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt\n\u003c/pre\u003e\n\n# XML-RPC Server\n\nModify the `server/settings.conf` file as you see fit (namely, the SSL key \u0026\ncertificate files and the database credentials).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcvan%2Fsecinv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcvan%2Fsecinv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcvan%2Fsecinv/lists"}