miércoles, 13 de abril de 2016

Firefox - hacking tool (updated)

First of all I am not talking about "hacking" servers, access to weak systems or anything similar, neither discuss about the meanings cracking/hacking.


nice and different firefox logo


Now Firefox has huge potential as tool for the web(using the available Addons), there aren't competitors in this area and the other participants in the internet browsing war: IE, Opera, Chrome or Safari aren't alternatives.

The next list has some very interesting tools which add useful features to improve the web use (for me)

Enter in advanced configuration mode:
about:config

Force install of not compatible addons:
"about:config"
new boolean
 "extensions.checkCompatibility.4.0"
 or
"extensions.checkCompatibility.3.6" 
"false"


Execution of multiple Firefox portable at sametime
copy \Other\Source\FirefoxPortable.ini
to root
add AllowMultipleInstances=true


Firefox power user tools/addon

//Development
Chickenfoot
Firebug
Web developer (too many useful features)
DOM Inspector

View Source Chart
JSView  (see sourcecode from external files .ie included .js)
--
SQLite Manager (open firefox and songbird/Nightingale databases)
Xpather


//Utility
Aardvark (few features for developers but easy and useful to clean webpages before print)
Hacktheweb (improved version of aadvark addon)
Print Edit (remove, select and add break pages before to print)
Mozilla Archive format (save 1 or multiple pages in 1 file, MHT or MAFF format)

//Improve interface
ChromaTabs plus
Showcase (mini image with the tabs)
Table2Clipboard (copy table elements)
ColorfulTabs 29.9  
TabGroups Manager revived. (create a parent tab to classify tabs under it)
--
Form saver
Autoformer
Autofill Forms

Tabrenamizer
Configuration stored in about:config(tabrenamizer.jsonprefs)

Copy/paste to a texte editor
Convert to human readable with Plugin:JSMin, JSFormat
Modify content
Convert to a minimalistic text with Plugin:JSMin,JSMin
Copy/paste text in about:config
restart firefox



//Config/Hack Firefox
keyconfig (20080929)
Show the key shortcuts assigned in Firefox, you can search for duplicated (blue background) or change the keys for each addon or function.
[after install access from Tools or Ctrl-Caps-F12]
more info:
http://forums.mozillazine.org/viewtopic.php?f=48&t=72994&st=0&sk=t&sd=a





SpellCheck 0.3
check the entire web page,
[after install, open from:"Edit, Spell check"]



//Browser tools
Quick Locale Switcher(ver 1.7.8)
User Agent Switcher (to identify FF as other ver/browser
 (XML including browser ids to import in addon)

 //Systems/networking
Firefox throttle (up/down bandwidth)
Extended status bar (Page/kb/speed/load time) v1.5.8
DownThemAll!
Firebug 1.7.3 (Net tab.  powerful stats /kb/speed/load time per object)
Httpfox 0.8.14 (similar to Firebug/developer tools but network monitor is centralized and keep monitoring when a _blank page is open)
Proxy Selector 1.31  (select different proxy configurations)

Foxyproxy (proxy with multiple functions, configuration file is compatible with Chrome addon)
--
fireftp
fireuploader
Sunrise XP (convert to plucker format)

Firebug (Net function)




//Semantic Web
Operator(check web for microformats, RDFa and eRDF and permits interact)
Tails export (show microformats and offer export to standard file formats)




Firefox 12

Fastest Search v2.23 (support regexpr and many options)
Stylish 1.3.2
jSON handle 02.2.1

Compatible with the old Firefox  v3.6.28
Specific addons versions for FF3.6:

chickenfoot107.xpi
colorfultabs-4.6.5-fx+sm.xpi
  configuration stored in about:config(extensions.clrtabs.dpref)
web_developer-1.2.2-fx+sm.xpi
tabrenamizer-0.9.6-fx.xpi
   configuration stored in about:config(tabrenamizer.jsonprefs)

Firebug 1.7.3 
Firefinder for Firebug 1.1(works with firebug 1.7.3)
TableTools2 1.17View Source Chart 3.05
WebDeveloper 1.2.2
Xpather 1.4.5
DOM Inspector 2.0.14
JSView 2.0.5
SQLite Manager 0.6.8


 
Remove It Permanently 1.0.6.10
   configuration stored in \FirefoxPortable\Data\profile\rip_store\config.xml
Hacktheweb 1.3.20 (improved aadvark addon)
Aardvark 3.0
Print Edit 9.0


Palemoon v.26
Light fork of a previous Firefox version (previous to FF v29 and its Australis user interface)

Important info
Palemoon from v25 has not anymore the same GUID than FF


Specific palemoon addons
https://addons.palemoon.org/extensions/other/pm-commander/
https://www.palemoon.org/tabgroups.shtml




lunes, 7 de marzo de 2016

BlackBerry - patching for android

Forums as Crackberry are plenty of posts and information about the process.

Following instruction are just a simple quick reference.

Why:
Some apps are using Google Play/Maps services and they requires them to run. However BB10, not only doesn't include these services  but also cannot be installed from Blackberry World.

Example of successfully  patch apps because its Google maps services (gms) requirements:

-Wikiloc (though this apps uses OpenStreetMaps offlines maps, it requires the gms) 
Transport apps:
  -City mapper
  -Moovit (it work very good without gms services, but few functions requires them)
 











Installing on Blackberry 
1)  Google maps services (by Cobalt)
Download and copy to BB10 an apk with gms, such as com.google.android.gms-8.4.xx-cobalt-buildx.apk
Execute apk file from any file explorer (com.google.android.gms-8.4.xx-cobalt-buildx.apk)












2)(Optional) Blackberry Google ID
Most third party apps don't require of this service, but if your want to use apps from Google you need it.
Besides its main function, which is identifying you BB device with your Google account, it also gives you 2 additional options. From Android settings you have the complete configuration for the Android Runtime.
cobalt.blackberry.googleid-x.x.apk














3)(Optional) Mobile Network/Google Settings
It gives you the function to disable mobile data for Android apps.
Besides previous main function, it also gives you the access to the Android Settings  and from there you have the complete configuration for the Android Runtime.
cobalt.mobilenetwork-x.x.apk


Patching from PC Desktop
Download and install "Play_services_PS_Patcher-1.4", (it requires JAVA)
Execute, browse, load apk file,
Click on "Analyse APK file" (with default options), Click on "Continue"







Screenshots of patched and working apps















Uninstalling Google Services from Blackberry

Method1: From Blackberry Google ID, Android Settings, Applications, Google Play services, Uninstall



miércoles, 28 de octubre de 2015

Phone data migration(export/import)

-Contacts from Android to BB10
-Notes from Noteeverything to DejaOffice.
-



Import contacts from Android

Notes for Kies:
-export to csv (only phone contacts):
field contents between quotation marks, and columns delimited by comma
Too many fields(all) are exported in a fixed order, and the first line the field name in your language
groups in 1st field an delimited by double semicolon
i.e "Group1;;Group2;;Group3"

-export to vcf(only phone contacts). 1 per file (will loss groups and extended information)
content of all vcf file can be joined in a vcf file using the msdos copy command

(only phone contacts). There is no reason to extract google account contacts as they are  in the cloud and there are other methods to do it.

BB Contacts Imp/Exp: requires a first line with headers, and it will map to BB contacts
BB Contacts Imp/Exp

-export to csv: field contents between quotation marks, and columns delimited by comma.
Number and position of fields is variable.

To know field names, you can create a dummy contact with enough information and export it to csv

Fields in the header of a csv file  exported by BB Imp/Exp:

"Name/NameGiven","Name/NameMiddle","Name/NameSurname","Phone/Home","Phone/Work","Email/Other","PostalAddressLine1/Home","PostalAddressCity/Home","PostalAddressCountry/Home","PostalAddressLabel/Home","OrganizationAffiliation/OrganizationAffiliationName"

Mapping CSV from Android with "Contacts Imp/Exp" headers from csv file.
Use a good spreadsheet software like Gnumeric or Libreoffice (avoid excel  because it cannot export properly)

Verification after export:
Check that long numbers i.e 420721958625 are not shorten to a form like xxxE+11 (another reason to avoid the use of Ms Excel)
Check numbers that phones beginning with a 0 have it
Check numbers with a country prefix +xx

Steps to convert:

From Kies csv file, remove as many columns as possible, generally normal users don't use more than 10 fields.
Groups: If you have contacts classified by groups, you can associate "Group" column from Android contacts to "OrganizationAffiliation/OrganizationAffiliationName" column in BB
If contacts are associated to multiple groups it, and you want to keep it, it would require more complex steps, before mapping if decide to kept only a group per contact and remove additional.



sábado, 3 de octubre de 2015

Best Software for Blackberry 10 (native and Android)

Natives or based in Android runtime.

Best of native apps/ports:
  Dejaoffice 2.4.5 (ported)
  GhostCommander 1.51
  No Tag Player (folder mp3 player)
  Flashlight Pro
  ContactsIm Ex
  Maxidict (native dictionary, free version only search in a startdict at time)
     (SD in /accounts/1000/removable/sdcard/documents/MaxiDict or any custom folder
     Y:\documents\MaxiDict)
  K9 5 (ported)
  Navfree /Navmii (maps based in OSM free maps) (ported)
  Q Browser (based in the BB browser and therefore a webkit flavour)
  BGshell
  LuckyPatcher 5.4.3(ported)

  Google services (patched by Cobalt)


Best (apk) from Android:
   F-Droid 0.96.1
   APK Permission Remover 1.3.3 (heagoo.apkpermremover)
   Palemoon 25.8
   Advanced Task killer 2.0.3 (rechild)
   Note everything
   Apk extractor
   MiniLyrics 1.0.18(from apk)
   KeepassDroid 2.0.3
   Applications info 1.5 (from F-droid)

  GPS-MAPS
Applications info (from F-droid)
   Wikiloc 2.7.1 (patched - requires Google Maps services)
     (\misc\android\wikiloc\offlineMaps)
   City Mapper (patched - requires Google Maps services)
   Moovit
   Triposo (download region info from wikitravel  to read offline, maps doesn't work)
   /mnt/sdcard/Android/data/com.triposo.droidguide.world


 
Configuring BB10/Software:
     
Import contacts from .vcf or .csv file using "ContactsIm Ex"
    (clean android contacts with Kies)

Import DejaOffice db  (from android)
   send or copy backup file from Android /clusb
   to device/misc/android/clusb/
   rename or delete companionlink.db (Dejaoffice must be closed)
   rename backup file (companionlink2015-xx-xx).db to companionlink.db
 

Note everything
  How to install "Note everything" keeping folders/categories (!)
     copy folder /noteeverything/backup from Android to device/misc/android/noteeverything
      install "Note everything" apk, app will detect previous backup in the folder and will ask for a restore

(!)     (Note: addon pro 2.5.1 doesn't work with Blackberry so backup functions cannot be used and expert to textnotes and import losses folder/categories)

    If notes are not classified, following method is OK
       in android "Export textnotes to SD"
      copy folder /noteeverything/text from Android to  device/misc/android/noteeverything
      Import, Mass import from SD-card, choose previous folder

Install Drivers on PC

Connect to PC     
    Access to SD     (to install mass storage drivers)
    Install Drivers    (to install drivers, Link and Blend) go to Computer, cdrom unit (folder .\Drivers)
  
Backup of BB configuration with Blackberry Link



Issues with:
   Wikiloc (as it need google play services, Accept to download them but it fails)
   Goldendict  pro  (as it need google play services, there is a 10 seconds lag) 


   Sygic 14.3.4 (maps 2014.0x)
    by default resources (storage/sdcard0/Sygic)
   From Android, zip the folder "/storage/sdcard0/Sygic"
   Unzip to: /mnt/sdcard/Sygic

     m_strSetMapPath=/../../../extSdCard/Sygic/Maps

   Here save maps to PC
    on Android, rename folder that is removing dot symbol from beggining of filename in order to do visible the hidden folder
   From PC copy the folder
   on Android, rename previous folder adding the  dot symbol at beggining of filename
  
   

sábado, 12 de septiembre de 2015

Android: ROMs - Root - Utilities


ROMs
Samsung ROM naming convention

B5330XXAL4 :
B5330(=model)XX(=Region)A(=Year)L(=Month)4(=Revision)
XA Austria, France, Germany, Italy, Netherlands, Switzerland, United Kingdom
XW France, Germany, Italy, Netherlands, Portugal, Spain, Turkey, United Kingdom
XX Austria, Belgium, France, Germany, Hungary, Italy, Spain, United Kingdom

ALI4=Android 4.0.4 ICS (2012/9)
BMC2 =Android 4.1.2 JellyBean (2013/3)
BMD2= Android 4.1.2 JellyBean (2013/4)


YEAR CODES
K 2011
L 2012
M 2013
...

MONTH CODES
A January
C March
E May
G July
I September
K November
L December

REVISION CODES
1 = 1
2 = 2
A = 10
B = 11
C = 12


Root your device


Requirements:
Settings, Developer options
ON
USB debugging(Checked)


App to verify:
root verifier (install from F-droid)

Check XDA developers for information and procedure
http://www.xda-developers.com/root/

Suggested Utilities:

Superuser
F-droid 0.76
OI Explorer 2.03   (Free File explorer, not root)
Ghost commander 1.52.2   (Free Advanced File explorer, apps,...)
All-In-One Toolbox 1.5  (processes, cleaner, app2sd, filemanager)
BusyBox Pro v19
APK extractor (free  - extract apps to apk)

Root verifier (free)(com.abcdjdj.rootverifier)
Root checker (burrows.apps.rootchecker)(with ads, required google services,  good info about system)
Super user (com.noshufou.android.su)
Disk Usage (com.google.android.diskusage)(free)

(Useful but not free as free beer or freedom)
System Tuner Pro  2.1.2 (tasks, root uninstall system apps, terminal, startups,)
Android tuner 0.12.9 (root, uninstall user apps, many tools, root explorer, terminal, firewall,startups,..)
Root Software

ROM Manager 5.5 (free includes ads)
 install ClockworkMod
 ROM download, backup, restore, fix permissions...

lunes, 7 de septiembre de 2015

Blackberry OS 10.x - System + Android runtime


Blackberry OS 10 in Classic device
HW Model: Classic - SQC100-1 (Q20)
HW: MSM8960 v3.2.1.1 N rev.11

Original soft release v.10.3.1.1779
   Soft release updated to v.10.3.2.2474
                                     to v.10.3.2.2836 

Original OS10 ver.  v.10.3.1.2576

Updated OS10 ver.  v.10.3.2.2639
                             to v.10.3.2.2876 
                          

3.5" 720x720 - 290.6 ppi
CPU: dual-core Snapdragon S4 MSM8960- 1.5 GHz Krait + Adreno 225 GPU
RAM: 2GB of LPDDR2 SDRAM -16GB of built-in storage
MicroUSB - HDMI output (Slimport)
Nano-SIM
microSD up to 32GB

Android runtime. ver: 4.3

Unsupported APIs from JellyBean
https://developer.blackberry.com/android/apisupport/unsupportedapi_jellybean.html


Blackberry folders/paths

Internal memory:
/sdcard (alias to /mnt/sdcard/)
/mnt/sdcard/
/misc/android/  (alias to /mnt/sdcard/misc/android/)  *
/accounts/1000/shared/misc

SD card memory:
/mnt/sdcard/external_sd/
/accounts/1000/removable/sdcard/

 Specific examples of folders:

/mnt/sdcard/external_sd/camera (Y:\camera)
/misc/android/    (used by Adobe PDF)
/misc\android\com.fsck.k9 (k9 settings)
\misc\android\MapsWithMe\150805 (MapsWithMe maps)

* All Android apps, even those ported to BB10 save files to this path


Configuring a BB from the very beginning
(avoiding any cloud service)

Autoconfiguration for provider
Configure wifi, Bluetooth device name

Step create a Blackberry account for Blackberry world  
    Install ContactsIm Ex
    Install Whatsapp




Glossary/PC software
Blackberry Link:
Sync multimedia and move files, documents, backup
Restore factory configuration

Blackberry Blend:
Manage and interact with your BlackBerry device from a computer via usb or wifi

Sachesi:
Utility software for PC (Win, Mac, Linux) Firmware, Backup (generate a .bbb file compatible with Link) ,...

Snap (.bar)
Free Google Play client, requires sideload.

DDPB (PC, Req. Win, .NET, Java )
App for sideload

links:

http://www.blackberryhack.com/


http://forums.crackberry.com/tips-how-faq-f3/how-hack-your-blackberry-access-engineering-screen-548537/

http://forums.crackberry.com/blackberry-10-os-f269/bb10-console-fun-bgshellplus-809130/






viernes, 19 de junio de 2015

IR Remote - Configure any TV Handler

IR receiver Pinouts
IR diode/receviver - VS1838B (1838 requires a resistance between Vcc and Signal)
1 -Left - Signal/Out
2 -Middle - GND

3 - Right  - VCC+(3V)




Xinda board with a 1838B (top view) (this board includes a resistance and a led)
1-Left – GND-
2-Middle – VCC+ (3V)
3- Right – Signal/Out

VS1838B
38 kHz carrier frequency
Most IR remote controls use the 38 kHz carrier frequency.


Name of basic keys
KEY_PLAY
KEY_STOP
KEY_PAUSE
KEY_ENTER
KEY_LEFT
KEY_RIGHT
KEY_UP
KEY_DOWN
KEY_MENU
KEY_EXIT
KEY_FORWARD
KEY_REWIND
KEY_SUBTITLE
KEY_MUTE
KEY_FASTFORWARD

List more names of KEYS with:
irrecord --list-namespace | grep KEY


From SSH


(if lirc is executing, stop it with
 sudo /etc/init.d/lirc stop)

irrecord -d /dev/lirc0 /home/pi/mi_mando_tv.conf

irrecord -f -d /dev/lirc0 /home/pi/my_nevir_tv.conf
(-f for raw mode; it was required for my tv handler. it writes more hex codes for each key) 
(irrecord will ask to press many buttons, have patience because it is a quite boring process, after it it will ask for KEY names, enter a previous keyname, press enter, press key in IR handler.)

cp my_nevir_tv.conf lircd.conf


From RaspBMC/Openelect GUI(GUI Graphical User Interface)

 If using RaspBMC, from Menu enter in "Raspbmc Settings", "IR Remote"
Then, verify following options.
"Enable GPIO TSOP IR Receiver" must be enabled
"GPIO TSOPremote profile"=Custom
and it will detect a new lircd.conf file and will ask for reboot. Select "Yes"


From RaspBMC/Openelect GUI(GUI Graphical User Interface)

 If using RaspBMC, from Menu enter in "Raspbmc Settings", "IR Remote"

From OSMC(GUI Graphical User Interface)

By default, it is enabled
Verify from:
"Pi Config"; "Hardware support";
Enable LIRC GPIO support=yes
gpio_in_pin=18

From  "Remotes", "Browse" and load a config file



Files
My example file, generated with several TV handlers in raw mode(-f)
lircd_nevir.conf
lircd_ansonic.conf





domingo, 26 de abril de 2015

Android apps Analysis

Internet browsers:


Browser - Version - App file size - RAM used*
-Atlas 1.0.2.3 - 1.30 MB - 40 MB
Desktop/Mobile mode, no autostarts, content filter, works with m.youtube. Has an "Exit" button
-CMbrowser 5.1.80 - 4.29 MB -50MB
It requires few rights and has few autostarts. Works with m.youtube. Also has a "Quit" button
-Firefox 34.0.1 - 41.33MB -88MB
Opensource and powerful but too heavy, moreover it autostart after too many events. it has not an "Exit" button. Available at F-droid
-Lightning 3.2.0.1 - 4.30MB -36MB
Opensource and very light, it requires standard rights. works with m.youtube. Available at F-droid (acr.browser.lightning)
-Opera v14.0.1 (last browser with an Opera engine)
-Opera Mini 8.0.1807 - 5.57MB -26MB
It requires few rights and has few autostarts, moreover it is removed from memory when it is not used.

-UC browser 10.4.1 - 37.83MB
Trustfulness behaviour, it has an "Exit" option but it doesn't work as expected, and it keeps process on memory and even  open TCP/IP connections, why? where?  I consider too dangerous a software with this kind of behaviours.




Internet browsers Notes:
-* Approximated Memory used when  loading m.wikipedia.org
-Firefox for Android/Fennec (APKs)
http://ftp.mozilla.org/pub/mozilla.org/mobile/releases/latest/android/multi/

miércoles, 28 de enero de 2015

beOS - una opción a la sombra

Articulo publicado en Guía de ocio en Asturias nº29 (2ª quincena Abril 2004)

A veces haciendo limpieza en un disco duro uno se encuentra cosas, que dependiendo de la cantidad de años pasados pueden ser más o menos interesantes :)
beos














Licencia CC.