Issues installing VBox Guest Additions on Kali Linux

17 Octombrie, 2013

In order to install the VBox Guest Additions on Kali you must first update the linux headers, using:

apt-get update && apt-get install -y linux-headers-$(uname -r)

But you may come across an error like this:

E: Unable to locate package linux-headers-3.7-trunk-686-pae
E: Couldn't find any package by regex 'linux-headers-3.7-trunk-686-pae'

If this is the case, don’t bother continuing with the VBox Guest Add’s install because it will not work.

So do this. Check the /etc/apt/sources.list file if it has the following lines:

deb http://http.kali.org/kali kali main contrib non-free
deb http://security.kali.org/kali-security kali/updates main contrib non-free

After checking and adding as necessary, run:

apt-get  update

and then run again the command for updating the linux headers. Then run the VBox Guest Additions install file:

cp /media/cd-rom/VBoxLinuxAdditions.run /root/ 
chmod 755 /root/VBoxLinuxAdditions.runcd /root
./VBoxLinuxAdditions.run

Enjoy using the features of VBox Guest Additions!


iGO on Android

27 Decembrie, 2012

How to drop a nice and lean iGO primo on your Android device (tried on Galaxy S II and S III).

– Get a hold on those required files (branding.zip, data.zip, sys.txt, .apk file) and folders (content, license) and copy them on your device (e.g. \Download\iGO)

– execute the .apk file, after you have allowed the installation of non-Market apps from Settings

– be sure to edit the sys.txt file according to your phone screen resolution (e.g. for Galaxy S II, the [rawdisplay] parameter should be:

[rawdisplay]
 driver=engine
 screen_xy="800_480:800x480/480x800:fullscreen"

– copy the needed map files to (depends on what info you want to have for a specific country):

*.3dl/*.3dc --> Building --> the directory *\content\building\
 *.dem --> Landscape --> the directory *\content\dem\
 *.fbl --> Maps --> the directory *\content\map\
 *.fda --> Warnings --> the directory *\content\map\
 *.fpa --> Adress points --> the directory *\content\map\
 *.ftr --> Information for Trucks --> the directory *\content\map\
 *.hnr --> Programmed Road --> the directory *\content\map\
 *.hsp --> Intelligent route --> the directory *\content\histspeed\
 *.kml --> Custom Points of Interest --> the directory *\content\userdata\poi\
 *.phr/*.ph --> Pronouncing street names --> the directory *\content\phoneme\
 *.poi --> Points of Interest --> the directory *\content\poi\
 *.txt --> Radars --> the directory *\content\speedcam\

– enjoy!

P.S. You may need a different data.zip for different phone models. Just keep trying until you get the optimal screen resolution.


How to install flash player in Backtrack 5 R3 Gnome x64

31 Octombrie, 2012

After struggling to find a solution for making flash player work in Firefox on Gnome x64, I found an effective tutorial on http://www.backtrack-linux.org/forums/showthread.php?t=51439. The trick is to install the 32 bits version. Here it is:

# aptitude purge flashplugin-nonfree flashplugin-installer gnash gnash-common mozilla-plugin-gnash swfdec-mozilla
# rm -f /usr/lib/firefox/plugins/libflashplayer.so
# rm -f /usr/lib/mozilla/plugins/libflashplayer.so
# rm -f /usr/lib/mozilla/plugins/flashplugin-alternative.so
# rm -f /usr/lib/mozilla/plugins/npwrapper*flash*so
# rm -f ~/.mozilla/plugins/*flash*so

Please note the use of „aptitude purge” instead of „apt-get purge”. The former will remove files, dependencies, and configurations, while the latter removes files and dependencies.

Now, please kill all instances of Firefox. If you need a script to make sure, you can do this:
# killall -9 /opt/firefox/firefox-bin

Next, wget the latest x86 flash player version from the Adobe website: http://get.adobe.com/flashplayer/ and click on Different operating system or browser?

Next, unpack the archive:

# tar xvzf install_flash_player_11_linux_i386.tar.gz
# mkdir ~/.mozilla/plugins
# mv libflashplayer.so ~/.mozilla/plugins/

Then just delete everything else that got extracted. Firefox should be running with flash player on. And by the way, Nessus (maybe the reason you need the player) should also be running fine.


Generatia Pro IT

5 Iunie, 2012

Despre cat de greu este sa urci niste fisiere prin ftp:

a|-|(|_|_69: pai e greu
a|-|(|_|_69: in fine
a|-|(|_|_69: tre sa aibe mai multe chestii hostu
a|-|(|_|_69: ca sa pui un site deasta in html
a|-|(|_|_69: ca am citit eu pe net
a|-|(|_|_69: ftp nu stiu de care
a|-|(|_|_69: explica unu
a|-|(|_|_69: cum se face

Vin din nou alegerile. Iesiti la vot, ca altfel vor alege altii…


How do I set or change the PATH system variable?

1 Octombrie, 2010

Windows 2000/XP users may set their path by right-clicking on ‘My Computer’ and selecting ‘Properties’. Under the ‘Advanced’ tab, there is a button that allows you to set the ‘Environment variables’. Click on this and alter the ‘Path’ variable so that it also contains the path to the Java executable. For example, if you have installed Java in c:\jdk and your path is currently set to C:\WINDOWS\SYSTEM32, then you would change your path to read C:\WINDOWS\SYSTEM32;c:\jdk\bin
When you open a new command prompt, it will reflect these changes and allow you to run java programs by typing „java”. If you have installed the SDK, then you will also be able to run „javac” to compile stuff.

For Windows Vista:

  1. Right click “My Computer” icon
  2. Choose “Properties” from context menu
  3. Click “Advanced” tab (“Advanced system settings” link in Vista)
  4. In the Edit windows, modify PATH by adding the location of the class to the value for PATH. If you do not have the item PATH, you may select to add a new variable and add PATH as the name and the location of the class as the value.
  5. Reopen Command prompt window, and run your java code.

Setting Path on Solaris and Linux
To find out if the java executable is in your PATH, execute:
% java -version

This will print the version of the java executable, if it can find it. If you get error java: Command not found. Then path is not properly set.

To find out which java executable the first one found in your PATH, execute:
% which java

Below are the steps to set the PATH permanently,
Note: We are here giving instructions for two most popular Shells on Linux and Solaris.
Please visit link below if you are using any other shells.
Path Setting Tutorial

For bash Shell:

  1. Edit the startup file (~/ .bashrc)
  2. Modify PATH variable:
    PATH=/usr/local/jdk1.6.0/bin
  3. export PATH
  4. Save and close the file
  5. Open new Terminal window
  6. Verify the PATH is set properly
    % java -version

For C Shell (csh):

  1. Edit startup file (~/ .cshrc)
  2. Set Path
    set path=(/usr/local/jdk1.6.0/bin )
  3. Save and Close the file
  4. Open new Terminal window
  5. Verify the PATH is set properly
    % java -version

http://www.jibble.org/settingupjava.php;  http://www.java.com/en/download/help/path.xml


Whys

12 Noiembrie, 2009

whyWhy do you have to keep searching for something that you think you already found? By doing this you end up running in circles, chaotic, without knowing what do you actually intend to find. It’s wasted time, I don’t know what could you possibly discover in such circumstances, that could bring any benefit. And why does one have to obstruct his feelings although his will is to express them? It’s like using an airplane as a car.

The Roman emperor Marcus Aurelius, who was also considered one of the most important Stoic philosophers, said that he would like the peace of mind to accept the things that cannot be changed, the courage to change those that can be changed, and most importantly the wisdom to distinguish them from each other. That’s really a great capability to have! I guess, unfortunately, one can have it only with time as he/she experiences „things”. Kind of think of it… is this capability something that a human could ever understand? Or just a „thing” that cannot be changed?…


Auto dobitocie

22 Iunie, 2009

Din ciclul Romania, Land of Choice, iata cum aleg bravii soferi sa treaca de obstacolul denumit Podul Baneasa – Ikea. Desi pe pod, unde chiar si atunci cand este plin de masini se circula mai fluent, este liber, cei mai multi (multi da’ prosti) aleg in continuare s-o ia pe sub pod, tragand clasica speranta de a-i „ciupi” cumva pe fraierii care merg pe pod, asa cum este normal. Asteptare placuta!…

mostra de dobitocenie