-
Conteúdo Similar
-
Por Sicar_i0
Uma dúvida rápida, estou em dúvida de qual dvd comprar para uma mídia de instalação do linux, um dvd de quanto de armazenamento é necessário?
-
Por bradeux
Fala seus hackudos, segue um pequeno tutorial sobre como automatizar a instalação do Kali no VirtualBox. 😎
Requisitos: Ter o Vagrant e o VirtualBox instalado no seu computador.
Download Vagrant: https://www.vagrantup.com/downloads.html
Download VirtualBox: https://www.virtualbox.org/wiki/Downloads
Obs: esse tutorial não contemplará a instalação do Vagrant muito menos o VirtualBox no seu computador visto que são requisitos mínimos, caso tenha alguma dificuldade referente a instalação de algum desses softwares reporte através dos comentários. 🗣️
Criar o arquivo Vangrafile. [email protected]:~# vim Vagrantfile 2. Copie e cole estas informações para dentro do arquivo Vagrantfile e não esqueça de salvar o arquivo.
# -*- mode: ruby -*- # vi: set ft=ruby : Vagrant.configure("2") do |config| config.vm.box = "offensive-security/kali-linux" # Compartilhando o meu diretório /home com a vm config.vm.synced_folder "./", "/home/bradeux" # Criando uma interface public, desta forma você receberá um endereço IP da sua rede local config.vm.network "public_network", use_dhcp_assigned_default_route: true # VirtualBox specific settings config.vm.provider "virtualbox" do |vb| # Memória ram: vb.memory = "2048" end # Automatizando a instalação de alguns pacotes através do shell config.vm.provision "shell", inline: <<-SHELL apt-get update apt-get install -y vim wget SHELL end
3. Execute o comando vagrant up no mesmo diretório no qual o arquivo Vagrantfile está presente, com isso o Vangrant começará o download de arquivos e posteriormente a configuração da máquina virtual. Dependendo da velocidade da sua Internet esse processo pode demorar um pouco.
[email protected]:~# vagrant up Bringing machine 'default' up with 'virtualbox' provider... ==> default: Box 'offensive-security/kali-linux' could not be found. Attempting to find and install... default: Box Provider: virtualbox default: Box Version: >= 0 ==> default: Loading metadata for box 'offensive-security/kali-linux' default: URL: https://vagrantcloud.com/offensive-security/kali-linux ==> default: Adding box 'offensive-security/kali-linux' (v2018.3.1) for provider: virtualbox default: Downloading: https://vagrantcloud.com/offensive-security/boxes/kali-linux/versions/2018.3.1/providers/virtualbox.box ==> default: Successfully added box 'offensive-security/kali-linux' (v2018.3.1) for 'virtualbox'! ==> default: Importing base box 'offensive-security/kali-linux'... ==> default: Matching MAC address for NAT networking... ==> default: Checking if box 'offensive-security/kali-linux' is up to date... ==> default: Setting the name of the VM: root_default_1539527933963_28332 Vagrant is currently configured to create VirtualBox synced folders with the `SharedFoldersEnableSymlinksCreate` option enabled. If the Vagrant guest is not trusted, you may want to disable this option. For more information on this option, please refer to the VirtualBox manual: https://www.virtualbox.org/manual/ch04.html#sharedfolders This option can be disabled globally with an environment variable: VAGRANT_DISABLE_VBOXSYMLINKCREATE=1 or on a per folder basis within the Vagrantfile: config.vm.synced_folder '/host/path', '/guest/path', SharedFoldersEnableSymlinksCreate: false ==> default: Clearing any previously set network interfaces... ==> default: Preparing network interfaces based on configuration... default: Adapter 1: nat default: Adapter 2: bridged ==> default: Forwarding ports... default: 22 (guest) => 2222 (host) (adapter 1) ==> default: Running 'pre-boot' VM customizations... ==> default: Booting VM... ==> default: Waiting for machine to boot. This may take a few minutes... default: SSH address: 127.0.0.1:2222 default: SSH username: vagrant default: SSH auth method: private key default: default: Vagrant insecure key detected. Vagrant will automatically replace default: this with a newly generated keypair for better security. default: default: Inserting generated public key within guest... default: Removing insecure key from the guest if it's present... default: Key inserted! Disconnecting and reconnecting using new SSH key... ==> default: Machine booted and ready! ==> default: Checking for guest additions in VM... ==> default: Configuring and enabling network interfaces... ==> default: Mounting shared folders... default: /vagrant => /root default: /home/bradeux => /root ==> default: Running provisioner: shell... default: Running: inline script
4. Comandos básicos para administração da máquina virtual
[email protected]:~# vagrant ssh - Serve para acessar a máquina virtual via ssh [email protected]:~# vagrant reload - Reincia a máquina virtual [email protected]:~# vagrant halt - Desliga a máquina virtual [email protected]:~# vagrant destroy - Destrói a máquina virtual
Font: https://www.kali.org/news/announcing-kali-for-vagrant/
-
Por solsticio
Minha dúvida é sobre como usar um exploit.
Esse exploit é para versões do kernel 3.16.39 ou inferior, tá em C, já tentei compilar ele no proprio sistema, mas dá erro, dai eu vi uns videos onde eles carregam com metasploit, mas ficou mt vago, alguém poderia me dar um norte?
https://www.exploit-db.com/exploits/44302/
-
Por kernelkill
Eae Raquis.
segue o link de um livro que me ajudou pra caralho, Shell Script com MySQL.
Link: https://mega.nz/#!hl1VAaoA!dUHNoz-zYcA35vFSsbhUOn27axp9PZs_J25hUZLtrCc
-
Por kernelkill
Boa noite pessoal;
Segue o link de uma apostila com todos os comandos do linux mais importantes, é muito util.
Link: https://mega.nz/#!0w0nDCgR!Aa2S1e0F2mcg_ic7TIMj1EAigzQdfTeajc3oiYsiu0Q
-