Vault7: CIA Hacking Tools Revealed
Navigation: » Latest version
Dev Setup Guide
Install Repo
Download Repo from the link and place it in either /usr/local/bin or /usr/bin
If you already have repo installed, check that the REPO_URL points to the following url:
REPO_URL = 'ssh://git@stash.devlan.net:7999/gitrepo/git-repo.git'
Set Up the Nightskies Repo Project
$ mkdir early
$ cd early
$ repo init -u ssh://git@stash.devlan.net:7999/ios/early_manifest.git
$ repo sync
Make sure that the default revision is refactor_make. You can check by running cat ../.repo/manifest.xml.
Set Up SSHSecure Shell into Stash
Using ssh-keygen, create a private/public key pair:
$ ssh-keygen
Generating public/private rsa key pair.
Enter file in which to save the key (~/.ssh/id_rsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in ~/.ssh/id_rsa.
Your public key has been saved in ~/.ssh/id_rsa.pub.
The key fingerprint is:
...
Set up Stash
On Stash, go to "Manage Account" under the user menu icon on the upper right (it may have a non-image display). On the left, navigate to "SSH Keys," and then click "Add Key." On the command line, type:
$ pbcopy < ~/.ssh/id_rsa.pub
This copies the key into the bin. Paste it into the text field on Stash and click "Add Key."
Configure SSH
Open ~/.ssh/config and add the following:
host stash
hostname stash.devlan.net
port 7999
user git
SSH will determine your username from the key you created. Test this by checking out a project from git (try ssh://stash/dto/dto_logger).
Install the DTOData Transfer Object Logger
Check out the DTOData Transfer Object Logger project:
$ git clone ssh://stash/dto/dto_logger
See DTO Logging for detailled instructions on how to use the logger. Copying or making a symbolic link to the logger in ~/bin (assuming you have it set in your path) will allow you to run the logger from any directory.
$ ln -s ~/PATH_TO_DTO_LOGGER ~/bin/dto_logger