Quantcast
Channel: linux – Logisek Security Blog
Browsing all 54 articles
Browse latest View live

How to cut clip from a video using ffmpeg

1. Install ffmpeg sudo apt-get install ffmpeg 2. Cut video ffmpeg -i myvideo.avi -ss 00:01:10 -t 00:03:15 -acodec ac3 -ar 48000 -ab 192k myclip.avi

View Article


Convert your videos in Linux with WinFF

WinFF is a GUI for the command line video converter, FFMPEG. It will convert most any video file that FFmpeg will convert. WinFF does multiple files in multiple formats at one time. You can for example...

View Article


Restart ethernet connection in linux

1st way ifdown eth0 ifup eth0   2nd way ifconfig eth0 down ifconfig eth0 up

View Article

Monitoring Opened TCP/IP network ports/connections in Linux

tcptrack displays the status of TCP connections that it sees on a given network interface. tcptrack monitors their state and displays information such as state, source/destination addresses and...

View Article

Hello World Linux Module

Hello World Module #include <linux/init.h> #include <linux/module.h>   static int init_module(void) { printk(KERN_ALERT "Hello, world!n"); return 0; }   static void clean_module() {...

View Article


How to solve device not managed in Kali Linux

1 > Open   /etc/NetworkManager/NetworkManager.conf file 2 > change managed=false  to managed=true 3 > restart network manager /etc/init.d/network-manager restart Done

View Article

Dnsrecon – Kali Linux

Open your Kali linux distribution.. Enumerate a domain dnsrecon -d example.com Test all NS Servers in a domain for misc zone transfers dnsrecon -d example.com -t axfr Help! Version: 0.8.8 Usage:...

View Article

Install linux kernel headers on Kali Linux

apt-get install linux-headers-`uname -r`

View Article


Get current process id with C in Linux

getpid function #include <stdlib.h> #include <stdio.h> #include <unistd.h>   int main(void) { printf("%d", getpid()); return EXIT_SUCCESS; } Get current process id with C in Windows.

View Article


Crack linux passwords – Bruteforce

> Open your kali distribution where john the ripper is already installed. > Assuming you have a copy of a passwd file and a copy of a shadow file. > Unshadow files: /usr/sbin/unshadow...

View Article

Ubuntu 15.04 enable manual login

Execute: gksudo gedit /usr/share/lightdm/lightdm.conf.d/50-unity-greeter.conf add these lines greeter-show-manual-login=true greeter-hide-users=true Save the file and reboot your computer.

View Article

OpenSSH server installation

To install the OpenSSH server application on your Ubuntu server system: Installation sudo apt-get install openssh-server Backup original configuration file sudo cp / etc/ssh/sshd_config /...

View Article

Quick FTP Server Installation

Installation sudo apt-get install vsftpd Upload files By default vsftpd is configured to authenticate system users and allow them to download files. If you want users to be able to upload files, edit...

View Article


Change Ubuntu server from DHCP to a static IP address

1. Open interfaces file for editing: sudo nano / etc/network/interfaces 2. Change interfaces file contents to: auto eth0 iface eth0 inet static address 192.168.10.15 netmask 255.255.255.0 network...

View Article

Ask questions about your Linux and OSX infrastructure

Kolide is an agentless osquery web interface and remote api server. Kolide uses the osquery remote apis to do ad-hoc distributed queries, osqueryd configurations and the collection and processing of...

View Article


Move directory to another server

* Compress directory tar cvzf myfolder.tar.gz myfolder/ * Copy directory scp myfolder.tar.gz [username]@[ip_address_or_hostname]:/home/[username]/myfolder.tar.gz * Extract directory contents on new...

View Article

Image may be NSFW.
Clik here to view.

Install LAMP stack on Ubuntu 16.04

Update system sudo apt-get update &amp;&amp; sudo apt-get dist-upgrade Install Apache sudo apt-get install apache2 Install MySQL sudo apt-get install mysql-server Install PHP sudo apt-get...

View Article


Image may be NSFW.
Clik here to view.

How to Install Atom Text Editor Debian

Atom is a text editor that’s modern, approachable, yet hackable to the core—a tool you can customize to do anything but also use productively without ever touching a config file. Installation 1. wget...

View Article

Kali right click no new document

1. GoTo Templates folder cd /root/Templates 2. Create empty file touch "New Document"

View Article

Debian 8 sudo

sudo is a program for Unix-like computer operating systems that allows users to run programs with the security privileges of another user, by default the superuser. It originally stood for “superuser...

View Article
Browsing all 54 articles
Browse latest View live