segunda-feira, 24 de agosto de 2015

HOW TO CONNECT FTP BY COMMAND LINE


#root@host# ftp
ftp> open
(to) <ip>
220 (vsFTPd 2.x.x)
Name (ip:root): <put the user that you want connect the ftp>
331 Please specify the password.
Password: <insert password where>
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ls
500 Illegal PORT command.
ftp: bind: Address to transfer files;
ftp> passive <<< put this command to start the next command's
Passive mode on. << will appear this message to continue wit sucessfuly
ftp> ls
<<will list the folders in ftp>>>

quinta-feira, 6 de agosto de 2015

HOW TO ADD SCRIPT WHEN YOUR SYSTEM INITIALIZE


Create Scritp, for example:
##########################begin script###########################
#!/bin/bash
/etc/init.d/cups start
##########################end script###########################

After that save the script like some that in respective folder: root@:#/etc/init.d/printer.sh
Grant root@:#chmod 755 /etc/init.d/printer.sh

To finish, execute : update-rc.d printer.sh defaults

quarta-feira, 5 de agosto de 2015

HOW TO USE LOGMEIN RESCUE IN LINUX [SOLVED]



*tested on kali linux

First of all install wine and winetricks:
apt-get update
dpkg --add-architecture i386
apt-get update
apt-get install wine
apt-get install winetricks
apt-get install wine-bin:i386
Ater  start download browser mozilla by windows and install by wine:
wget http://download.cdn.mozilla.net/pub/mozilla.org/firefox/releases/17.0.1/win32/en-US/Firefox%20Setup%2017.0.1.exe
chmod +x ./Firefox%20Setup%2017.0.1.exe (install your browser by default)
Start intalation by wine, and wait the process:
wine ./Firefox%20Setup%2017.0.1.exe

After install browser try to access portal rescue logmein and install the logmein plugin on browser
https://secure.logmeinrescue.com/
After plugin logmein rescue installed close the browser e do that:

wget http://www.kegel.com/wine/winetricks
cp winetricks /usr/sbin
winetricks riched20 riched30 flash
winetricks allfonts

Open brownser again and try to start logon


terça-feira, 28 de julho de 2015

TCP/IP UTIL TOOLS

http://www.tcpiputils.com/
http://www.speedguide.net/

HOW TO FIND A IP LOCATION

First start apt-get install curl

after:

root@station-00:~/Downloads# curl ipinfo.io/173.194.118.66
{
  "ip": "173.194.118.66",
  "hostname": "gru09s09-in-f2.1e100.net",
  "city": "Mountain View",
  "region": "California",
  "country": "US",
  "loc": "37.4192,-122.0574",
  "org": "AS15169 Google Inc.",
  "postal": "94043"
}root@station-00:~/Downloads#

SOURCE FOR MALWARE ANALYZER

So today i bring some sources that i using in my activities daily for analyzer some different behavior that I find in some machines:

http://sourceforge.net/projects/pev/
https://www.getsysteminfo.com/ (complet report of machine)
https://www.virustotal.com (complet report of file)
http://anubis.iseclab.org (complet report of file)
https://malwr.com (have sandbox feedback)





sábado, 25 de julho de 2015

HOW TO CONVERT MP4 FILE FOR MP3

First of all, start apt of packet:
sudo apt-get install ffmpeg libavcodec-extra-53
 
When finish do that:
ffmpeg -i filename.mp4 filename.mp3
ffmpeg -i filename.mp4 -b:a 192K -vn filename.mp3 

if you want create a script do that;
############################START SCRIPT ##############################################
#!/bin/bash
MP4FILE=$(ls ~/Music/ |grep .mp4)
for filename in $MP4FILE
do 
 name=`echo "$filename" | sed -e "s/.mp4$//g"`
 ffmpeg -i ~/Music/$filename -b:a 192K -vn ~/Music/$name.mp3
done
############################END SCRIPT ############################################## 

quinta-feira, 16 de julho de 2015

HOW TO INSTALL MIND MAPPING FREE FOR KALI LINUX

Introducion of Freemind:

Open source tool for mind mapping.


 First:

sudo apt-get install freemind freemind-browser freemind-doc freemind-plugins-svg freemind-plugins-script freemind-plugins-help

After, find ico butterfly and execute.

quinta-feira, 2 de julho de 2015

PIPELIGHT DIAGNOSTIC FOR MOZILLA

Just access this page:

http://fds-team.de/pipelight/

and you will have the information like that:


Please select the Plugin you want to test:(silverlight, flash, etc.)

User agent (Javascript)
Checking for Windows user agent ...failed
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0
You do not need to use a user agent switcher unless you want to use some special DRM functions
Most websites will show an unsupported operating system warning in this case

Flash (as seen by a website)
Checking for Flash ...failed

Pipelight
Checking for Pipelight ...failed
Do you have Pipelight installed and enabled the Flash plugin ?

Result
Result from all tests ...failed
Something is wrong with your pipelight installation

HOW TO ENABLE UBUNTU PPA ON KALI LINUX

So, basically the kali linux is debian source, however i try using this procedure to using the ppa based from ubuntu and work realy fine.

so, let's go to show the procedures:

First:

apt-get install python-software-properties
apt-get install apt-file
apt-file update
apt-file search add-apt-repository

Your output should this message:
python-software-properties: /usr/bin/add-apt-repository
python-software-properties: /usr/share/man/man1/add-apt-repository.1.gz

take a look if you have this file: add-apt-repositor, by this way:

vi /usr/sbin/add-apt-repository

if you have, clone this file cp add-apt-repository add-apt-repository-old

vi add-apt-repository
and put this informantion just:

#!/bin/bash
if [ $# -eq 1 ]
NM=`uname -a && date`
NAME=`echo $NM | md5sum | cut -f1 -d" "`
then
  ppa_name=`echo "$1" | cut -d":" -f2 -s`
  if [ -z "$ppa_name" ]
  then
    echo "PPA name not found"
    echo "Utility to add PPA repositories in your debian machine"
    echo "$0 ppa:user/ppa-name"
  else
    echo "$ppa_name"
    echo "deb http://ppa.launchpad.net/$ppa_name/ubuntu oneiric main" >> /etc/apt/sources.list
    apt-get update >> /dev/null 2> /tmp/${NAME}_apt_add_key.txt
    key=`cat /tmp/${NAME}_apt_add_key.txt | cut -d":" -f6 | cut -d" " -f3`
    apt-key adv --keyserver keyserver.ubuntu.com --recv-keys $key
    rm -rf /tmp/${NAME}_apt_add_key.txt
  fi
else
  echo "Utility to add PPA repositories in your debian machine"
  echo "$0 ppa:user/ppa-name"
fi


root@unknow:/usr/bin# chmod 777 add-apt-repository
root@unknow:/usr/bin# ./add-apt-repository ppa:noobslab/themes
noobslab/themes
Executing: /tmp/tmp.INWRRi7VR5/gpg.1.sh --keyserver
keyserver.ubuntu.com
--recv-keys
D530E028F59EAE4D
gpg: key D530E028F59EAE4D: public key "Launchpad PPA for NoobsLab" imported
gpg: Total number processed: 1
gpg:               imported: 1


Note, the line echo, i try to use the files by oneric main distribution, but you can try licud, raging or saucy.

After; start to add some ppa source using this command:

./add-apt-repository ppa:noobslab/themes

Do the update and finish!

source: http://www.blackmoreops.com/2014/02/21/kali-linux-add-ppa-repository-add-apt-repository/