30 Jul

Extract APK and decompile into Java source code

Decompiling apk to Dex format

1. Download Dex2Jar (Android runs applications which are in Dalvik Executable (.dex) format).
2. Run the command to convert apk to jar

dex2jar targetapp.apk file(./dex2jar targetapp.apk on terminal)

Viewing/Decompiling the Jar files to Java

1. Open ‘targetapp.apk.dex2jar.jar’ with jd-gui
2. File > Save All Sources to sava the class files in jar to java files.

28 Jul

[FIX] Adding magnet url to Buffalo Linkstation embedded μTorrent

Since The Pirate Bay using magnet link to initiate torrent download, i’m having issue with my μTorrent running in Linkstation. Below is the symptom:

Magnet links can be added but don’t start, they sit at 0 seeders and peers and display the null error mentioned previously in the event log:

JS error: [778] Unable to get value of the property '262': object is null or undefined

 

FIX
Copy magnet link from TPB, and paste into μTorrent.
Right click on the torrent list and select Properties
Look at the tracker section, add this line as additional tracker:

http://tracker.ccc.de:80/announce

Wait for few seconds, you will see some seeders and leechers coming to you

Source:
http://forums.buffalotech.com/t5/Storage/Bittorent-not-Working-after-Firmware-update/m-p/103520/highlight/true#M49903

Incoming search terms:

  • buffalo torrent lang ist null
  • cover59a
  • how to solve magnetic link undifined problem in torrent
  • linkstation buffallo torrent url
  • unable to add torrent buffalo
27 Jul

Install μTorrent Server in Ubuntu/Debian

μTorrent is a freeware and a closed source BitTorrent Client. One of the most used lightweight BitTorrent Client, Now it is available for Linux as μTorrent Server. You can download the tar file from utorrent.com or Open a Terminal and use the following command to download.

 

 

 

For x32

root@vps:~# wget http://download.utorrent.com/linux/utorrent-server-3.0-ubuntu-10.10-27079.tar.gz

For x64

root@vps:~# wget http://download.utorrent.com/linux/utorrent-server-3.0-ubuntu-10.10-27079.x64.tar.gz

After downloading the tar file, move to the file to /opt directory

root@vps:~# mv utorrent-server-3.0-ubuntu-10.10-27079.tar.gz /opt/

Change to /opt and extract downloaded file

root@vps:~# cd /opt/
root@vps:/opt# tar -zxvf utorrent-server-3.0-ubuntu-10.10-27079.tar.gz

Change permission

root@vps:/opt# chmod -R 777 utorrent-server-v3_0/

Create a symbolic link so that you can run the torrent server from terminal.

root@vps:~# ln -s /opt/utorrent-server-v3_0/utserver /usr/bin/utserver

Start the torrent server by using the following command in terminal.

root@vps:/# utserver -settingspath /opt/utorrent-server-v3_0/

If you get this error utserver: error while loading shared libraries: libssl.so.0.9.8: cannot open shared object file: No such file or directory, you can execute below command to install required libssl

root@vps:/# apt-get install libssl0.9.8

Open a browser and type the following line to access μTorrent Server webui

http://serverip:8080/gui/

Default username is admin with blank password.

 

Incoming search terms:

  • topic5nn
18 Jul

Watch unlimited Movies and TV series using XBMC

XBMC is an open source software media player and entertainment hub for digital media. XBMC is available for Linux, OSX, IOS, Android (WIP) and Windows. Out of the box, XBMC can organnize your media collection, auto download album art and many more. This tutorial will show how we can unleashed the full potential and capabilities of XBMC, by getting direct access to thousand of media shared by the community.

Goal 1: Install XBMC on your platform
Download XBMC from XBMC official site. Installation may varies depending on your platform and not being covered in this post. You can follow this guide to install XBMC.

Goal 2: Adding XBMC NaviX plugin
Download plugin from here and follow installation guide here.

Taken from NaviX wiki

On XBMC:

1. Go to www.navi-x.org and click on “Downloads” then click the button that says “Download Navi-X” and save the file to your computers desktop.

2. Install XBMC on your computer if you have not already. You can get the latest “stable” and “unstable” builds at http://xbmc.org/download/

3. Once XBMC is installed open it and click on System > Addons > Install from Zip file. Select the location on your computer where you saved Navi-X and select the zip file.

4. Exit to the main screen of XBMC and check out “Programs”… Navi-X should be installed there. Make sure you always use the latest version of Navi-X and the latest “stable” version of XBMC, located in the primary download page for XBMC.

On Apple TV, iPad, iPhone and iOS supported devices:

1. Jailbreak your Apple TV (or iOS device) and install XBMC. You can get details on how to do this from Google.

2. Once your Apple TV is jailbroken and has XBMC on it, you need to SSH and upload Navi-X to your iOS device in a folder that can be accessed by XBMC’s file explorer. Here is a video detailing how to SSH into your Apple TV (iOS device) and upload files to your device.http://www.youtube.com/watch?v=3x_pyFy1cI0

3. Once the Navi-X.zip file is uploaded to your iOS device, open XBMC on your iOS device and go to System > Addons > Install from Zip file. Browse to the location on your device you uploaded the Navi-X.zip file to and select it to install Navi-X.

4. Exit to the main screen of XBMC and check out “Programs”… Navi-X should be installed there. Make sure you always use the latest version of Navi-X and the latest “stable” version of XBMC, located in the primary download page for XBMC.

Screenshots
navi

 

navi2

Related link(s):

http://www.makeuseof.com/tag/5-amazing-addons-xbmc-media-center/

http://hometheatersalsa.com/xbmc-plugins-unofficial-repositories

08 Jul

CloudFlare: Restore original visitor IP to Apache Web Servers

Since CloudFlare acts as a reverse proxy for websites, CloudFlare’s IPs are going to show in your server logs. This can be easily identified from awstats or webalizer.
cloudflare
There is an easy fix to restore original visitor IP for any web server.
1) Copy the source file mod_cloudflare.c to your web server.
wget https://raw.github.com/cloudflare/CloudFlare-Tools/master/mod_cloudflare.c
2) Make sure that the command apxs or apxs2 is installed somewhere.
If you are running Ubuntu or Debian, this can be installed with:

apt-get install apache2-prefork-dev

If you are running Fedora or CentOS, this can be installed with:

yum install httpd-devel

3) Execute this command as root:

apxs2 -iac mod_cloudflare.c

4) Restart apache.
5) Lastly, make sure that mod_cloudflare is working by tailing your access.log file. ou should see that the remote_ip field here is no longer that of the CloudFlare CDN IP ranges. You can execute this command to verify mod_cloudflare is loaded into Apache:

apachectl -t -D DUMP_MODULES | grep cloud

Related article

Incoming search terms:

  • awstas ip cloudflare
  • https://yandex ru/clck/jsredir?from=yandex ru;search;web;;&text=&etext=1834 9SPBP_InW5nnXbCzDuN9S5IS_mSH4ahzSCLTl-0_G2YJgm5ujxBUTynAMbGQ8JyI 4a525530d865af1029d216456bf2e43c332ceb03&uuid=&state=_BLhILn4SxNIvvL0W45KSic66uCIg23qh8iRG98qeIXme