Wednesday, April 29, 2020

Remote Desktop using remina to windows pc using ssh tunnel on linux(ubuntu)


need :
1- valid ssh user account
2- pc with remote desktop enabled

open terminal


ssh - L  (localport on ubuntu):ip target remote:3389 -l  sshusername  sshserver

example:

ssh -L  1024:202.185.40.80:3389 -l  rambo  westcollege.edu



open remina (remote desktop application)

connect to : 127.0.0.1:1024




Tuesday, March 19, 2013

Looking for a specific text in any file:

find /path -type f -exec grep -l "string" {} \;
 
contoh:
 
find /var/www/ -type f -exec grep -l "TEXT YOU ARE LOOKING FOR" {} \; 

Thursday, August 11, 2011

ettercap -

http://www.art0.org/linux/man-in-the-middle-attacks-with-ettercap


Unidirectional sniffing: Victim to Gateway
A more sensible and stealthy command is:


ettercap -T -M arp:oneway,remote /1.2.3.4/ /1.2.0.0/
This is what the command line options do:

Thursday, July 28, 2011

using nmap to scan port

scan sql

nmap -f -sS -v -A -p3306 202.185.x-x

scan web

nmap -f -sS -v -oA dvwa -A -p 80,443 202.185.x.x-x

Thursday, June 30, 2011

some tips to improve ssh server


get from http://askubuntu.com/questions/2271/how-to-harden-an-ssh-server

Here's one easy thing to do: install ufw (the "uncomplicated firewall") and use it to rate limit incoming connections.

From a command prompt, type:

$ sudo ufw limit OpenSSH 

If ufw is not installed, do this and try again:

$ sudo aptitude install ufw 

Many attackers will try to use your SSH server to brute-force passwords. This will only allow 6 connections every 30 seconds from the same IP address.

Tuesday, June 21, 2011

reformat AND reinstall my ubuntu

1- Change to nearest repo

2-
sudo apt-get install ubuntu-restricted-extras
3 install ubuntu tweak

Tuesday, March 8, 2011

internet data decoder, sniff facebook, ym email etc

packet forensic, peeping user data, internet chat, facebook bla2... using this software by tapping at main gateway.

Xplico

http://www.xplico.org



GUI Ubuntu process manager - kill task

only expert know how to kill running application/process in ubuntu using kill command. There is a gui name: qps

install:

sudo apt-get install qps


run:

sudo qps

Sunday, February 20, 2011

easy way to crack wep (ubuntu)

The following is an easy way to install software crack WiFi WEP key.

go to command line:


install aircrack-ng

sudo apt-get install aircrack-ng


install macchanger

sudo apt-get install macchanger

install python

sudo apt-get install python-tk

download wifite

sudo wget -O wifite.py http://wifite.googlecode.com/svn/trunk/wifite.py


change mode to executeable

sudo chmod +x wifite.py
 
 
run:
 
sudo python wifite.py
 
  

Friday, January 21, 2011

need software to put a password for your pdf file?

for use in the operating system (Ubuntu), type: sudo apt-get install pdfchain

Thursday, December 9, 2010

change date and time (ubuntu)

Let’s say you want to set your computer’s new time to December 9, 2010, 14:30:50,

then you would use:

sudo date 120914302010.50

Monday, November 8, 2010

batch file rename in ubuntu

batch file rename in ubuntu:


example got 100 file like this:
backupfile1disember2009.mp4
backupfile2disember2009.mp4
backupfile3disember2009.mp4
need to change to:
01disember2009.mp4
02disember2009.mp4
03disember2009.mp4
solution:
for i in * ; do j=`echo $i | sed 's#backupfile#0#g' - ` ; mv "$i" "$j" ; done
thats all.
source:
for i in * ; do j=`echo $i | sed 's#searchstring#replacestring#g' - ` ; mv "$i" "$j" ; done
from:
http://www.thingy-ma-jig.co.uk/blog/19-04-2008/how-batch-rename-files

Wednesday, October 13, 2010

Windows 7activation error code : 0x80072F8F

The problem occurs because you have not made such calendar year and setting the time and the exact geographical location. change settings and try again.

Tuesday, August 31, 2010

convert video ? free

salam,

long time no update .. busy bro .. people looking for free software to edit video .. the name of the software is avidemux. Easy and free .. any version of linux and windows .. here is the screenshot ...

good luck

Wednesday, August 18, 2010

error Ubuntu update.

salam,

error update ubuntu:

W: GPG error: http://archive.canonical.com karmic Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key


solved:


gpg --keyserver keyserver.
ubuntu.com --recv 437D05B5; gpg --export --armor 437D05B5 | sudo apt-key add -; gpg --keyserver keyserver.ubuntu.com --recv 437D05B5; gpg --export --armor 437D05B5 | sudo apt-key add -; sudo apt-get upda

Monday, July 12, 2010

VIRTUAL BOX ERROR IN UBUNTU=VirtualBox can't operate in VMX root mode. Please disable the KVM kernel extension, recompile your kernel and reboot (VERR_VMX_IN_VMX_ROOT_MODE).


salam,

error:

VirtualBox can't operate in VMX root mode. Please disable the KVM kernel extension, recompile your kernel and reboot (VERR_VMX_IN_VMX_ROOT_MODE).

what i do (using ubuntu):

if use intel cpu:
sudo modprobe -r kvm-intel

if amd cpu .. change intel ke amd

done

Wednesday, June 30, 2010

Ubuntu local apt repositories (intranet)

Salam,

know the difficulty of achieving common package if want to try to install new applications in ubuntu for PC applications will be reached from outside.

so if you dock in a large range of organizations , there is very good repo server itself.

to install the repo server, make sure there are big hard drive size, if 500GB is already inside your pc..so no problem Punyer.

its very easy to install,


sudo apt-get install apt-mirror

kemudian edit cron kat:

sudo nano /etc/cron.d/apt-mirror

tukar masa cron untuk auto setiap hari


by default all the downloads will be installed in a folder:

  /var/spool/apt-mirror

then  install apache2 dan buat symlink

by default all the downloads will be installed in folder default, the repo in the downloads are based on the Ubuntu version apt-mirror server is. To add edit and add the release that useful:

sudo nano /etc/apt/mirror.list

itu aje

wasslam

Friday, June 25, 2010

UBUNTU LUCID 10.04 cannot view youtube

Salam,

Installing the latest version of ubuntu, there is a problem to see the youtube site, how to install plugins to allow the video display?
UBUNTU select Software Center.
fill in the blanks by typing in adobe adobe flash and select as below, then click install

UBUNTU: Easy Image Resize

salam,

easy to install (ubuntu) to resize the image file:

  UBUNTU IMAGE RESIZER.

fun, right? right click your picture file aje kat .. look at this windows  ..

want to install?

sudo apt-get install nautilus-image-converter

 thats all .. make sure you restart your gnome windows.

Tuesday, June 8, 2010

kill gnome xserver(windows) and restart

salam,

dulu2 aku boleh restart windows gnome ubuntu dengan kekunci control alt backspace.. tp tidak lagi sekarang.. kena setkan semula..

g menu system, preferrence, keyboard

enablekan kill x sever mcm gambo kat bawah: