Tag: debian

Debian, Django, Python

Apache2 and Django installation on Debian

Install Apache2 sudo apt-get install apache2 -y sudo rm -f /var/www/html/index.html && sudo touch /var/www/html/index.html sudo a2enmod ssl sudo a2ensite default-ssl sudo service apache2 restartsudo apt-get install apache2 -y sudo rm -f /var/www/html/index.html && sudo touch /var/www/html/index.html sudo a2enmod ssl sudo a2ensite default-ssl sudo service apache2 restart Install Python 3 sudo apt-get install python3 -y …

Debugging, Edb-debugger, Reversing

edb-debugger on Debian

Dependencies sudo apt-get install libqt5svg5-dev libgraphviz-dev pkg-config cmakesudo apt-get install libqt5svg5-dev libgraphviz-dev pkg-config cmake sudo apt-get install \ cmake \ build-essential \ libboost-dev \ libqt5xmlpatterns5-dev \ qtbase5-dev \ qt5-default \ libgraphviz-dev \ libqt5svg5-devsudo apt-get install \ cmake \ build-essential \ libboost-dev \ libqt5xmlpatterns5-dev \ qtbase5-dev \ qt5-default \ libgraphviz-dev \ libqt5svg5-dev Capstone git clone –depth=50 …

Debian, Linux

Sublime editor on Debian

Installation https://www.sublimetext.com/3 sudo dpkg -i sublime-text_build-xxxx_amd64.debsudo dpkg -i sublime-text_build-xxxx_amd64.deb Dracula Theme https://draculatheme.com/sublime/ Preferences -> Color Scheme -> Dracula Color Scheme -> Dracula CamingoCode Font https://www.fontsquirrel.com/fonts/camingocode sudo cp -r /home/username/Downloads/camingocode /usr/local/share/ sudo fc-cache -fvsudo cp -r /home/username/Downloads/camingocode /usr/local/share/ sudo fc-cache -fv Restart sublime if it is already open. Preferences -> Settings -> { "color_scheme": "Packages/Dracula Color …

Debian, Linux, SmokingLinuxEveryDay

p7zip – file archiver

p7zip is the Unix command-line port of 7-Zip, a file archiver that handles the 7z format which features very high compression ratios. p7zip provides: – /usr/bin/7zr – a standalone minimal version of the 7-zip tool that only handles 7z, LZMA and XZ archives. 7z compression is 30-50% better than ZIP compression. – /usr/bin/p7zip – a …

Malware

VirusTotal Uploader for Debian

VirusTotal API Dependencies sudo apt-get install automake autoconf libtool libjansson-dev libcurl4-openssl-devsudo apt-get install automake autoconf libtool libjansson-dev libcurl4-openssl-dev Download git clone https://github.com/VirusTotal/c-vtapi.gitgit clone https://github.com/VirusTotal/c-vtapi.git cd c-vtapicd c-vtapi Compile autoreconf -fiautoreconf -fi ./configure./configure makemake sudo make installsudo make install Configure sudo sh -c ‘echo "/usr/local/lib" > /etc/ld.so.conf.d/usr-local-lib.conf’sudo sh -c ‘echo "/usr/local/lib" > /etc/ld.so.conf.d/usr-local-lib.conf’ sudo ldconfigsudo ldconfig …

Hacking, Penetration Testing

Install latest Wireshark on Debian

Add backports to your sources.list For jessie add this line: deb http://ftp.debian.org/debian jessie-backports maindeb http://ftp.debian.org/debian jessie-backports main to your sources.list sudo apt-get updatesudo apt-get update ..the public key is not available.. gpg –keyserver pgpkeys.mit.edu –recv-key xxxxxxxxxxxxxxxxxgpg –keyserver pgpkeys.mit.edu –recv-key xxxxxxxxxxxxxxxxx gpg -a –export xxxxxxxxxxxxxxxxx | sudo apt-key add -gpg -a –export xxxxxxxxxxxxxxxxx | sudo apt-key …

Linux

Debian – Awesome Zsh

Install zsh sudo apt-get install zshsudo apt-get install zsh Download prezto git clone –recursive https://github.com/sorin-ionescu/prezto.git ~/.zpreztogit clone –recursive https://github.com/sorin-ionescu/prezto.git ~/.zprezto Create symlinks setopt EXTENDED_GLOB; for rcfile in /home/<username>/.zprezto/runcoms/^README.md(.N); do ln -s "$rcfile" "/home/<username>/.${rcfile:t}"; donesetopt EXTENDED_GLOB; for rcfile in /home/<username>/.zprezto/runcoms/^README.md(.N); do ln -s "$rcfile" "/home/<username>/.${rcfile:t}"; done or ln -s /home/<username>/.zprezto/runcoms/zlogin /home/<username>/.zlogin ; ln -s /home/<username>/.zprezto/runcoms/zlogout /home/<username>/.zlogout …

Debian

Install owncloud client on Debian

The following guide works for Debian 8.x. Become root sudo su -sudo su – Add owncloud repository echo ‘deb http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/Debian_8.0/ /’ &gt; /etc/apt/sources.list.d/owncloud-client.listecho ‘deb http://download.opensuse.org/repositories/isv:/ownCloud:/desktop/Debian_8.0/ /’ &gt; /etc/apt/sources.list.d/owncloud-client.list Add owncloud repository key wget http://download.opensuse.org/repositories/isv:ownCloud:desktop/Debian_8.0/Release.keywget http://download.opensuse.org/repositories/isv:ownCloud:desktop/Debian_8.0/Release.key apt-key add – > Release.keyapt-key add – > Release.key Update system repositories apt-get updateapt-get update Install owncloud client apt-get install …

Debian

Configure HP All-in-One device on Debian

Install hplip sudo apt-get install hplipsudo apt-get install hplip Run the hp-setup wizard sudo hp-setupsudo hp-setup For Connection Type choose “Network/Ethernet..” If the device is not detected, click “Show advanced options”, tick “Manual discovery” and supply the scanner’s IP address. Detect the scanner scanimage -Lscanimage -L Detect printer Open System Settings->Printers->Add new printer Scan Open …

Debian

Recursively download a directory using smbclient

smbclient — ftp-like client to access SMB/CIFS resources on servers. Download folder smbclient ‘\\server\share’ -U usernamesmbclient ‘\\server\share’ -U username mask "" recurse ON prompt OFF cd ‘/path/to/remote/directory’ lcd ‘/path/to/download/’ mget *mask "" recurse ON prompt OFF cd ‘/path/to/remote/directory’ lcd ‘/path/to/download/’ mget * Options Usage: smbclient service -R, –name-resolve=NAME-RESOLVE-ORDER Use these name resolution services only -M, …