dimanche 17 novembre 2019

Ubuntu / Kali : Installer le front-end web pour bettercap

Par défaut quand on installe bettercap sur Kali Linux, on peut démarrer l'interface web mais cette dernière ne s'affiche pas quand on essaie d'accéder à l'url 127.0.0.1 dans Firefox... A la place de la page de login on voit une belle erreur 404... Car en fait, par défaut, le serveur web de bettercap n'est pas installé et il est alors nécessaire de lancer la commande suivante "sudo apt-get install bettercap-ui" pour ensuite avoir la possibilité d'utiliser la fonction "sudo bettercap -caplet http-ui" !

Have fun !

vendredi 15 novembre 2019

Ubuntu / Kali : Rechercher et supprimer des fichiers

Afin de rechercher et supprimer des fichiers en ligne de commande sur un système d'exploitation Linux Ubuntu (comme par exemple Kali Linux), il suffit d'exécuter la commande suivante :

find / -name *.log -exec rm {} +

Dans l'exemple ci-dessus, on demande au système de rechercher tous les fichiers du système comportant une extention ".log" et de supprimer automatiquement le fichier.

Le premier paramètre "/" signifie qu'on lance la recherche à partir de la racine du disque en cours.

mardi 5 novembre 2019

How to exploit the BlueKeep vulnerability ?

Here is an interesting article for those who need to investigate and exploit the BlueKeep vulnerability that affects Windows server systems :

https://pentest-tools.com/blog/bluekeep-exploit-metasploit/

You will also find valuable information about this exploit at  the following URL :

https://github.com/rapid7/metasploit-framework/pull/12283


mardi 15 octobre 2019

How to get phone contact data in Kotlin (Android programming)

Here is the way to adopt to get data from phone contacts, in Kotlin programming for Android devices :

https://gist.github.com/reuniware/53cbee352341a098c3f875d60cd79c55#file-get_contact_web_url-kt

This can be improved but this will be a good starting point for you if you need to implement this functionality in your application development.


mardi 24 septembre 2019

Android FileSearch now allows to search files and folders :)

Android FileSearch now allows to instantly search for files and folders on Android.

It also allows you to browse the filesystem, rename and delete files and folders, view text files and force the view of files in text format. You can also view (by default) the first 1024 bytes of any files if it is not a text file.


You can download it from Google Play Store by clicking here.

Alternative link on Github by clicking here.

Direct download from Sourceforge by clicking here.


Here are some screenshots :




lundi 23 septembre 2019

How to generate logo resources for your Android app

In order to generate logo resources for your Android application, you can use the following tool at the link :

https://romannurik.github.io/AndroidAssetStudio/icons-launcher.html#foreground.type=clipart&foreground.clipart=android&foreground.space.trim=1&foreground.space.pad=0.25&foreColor=rgba(96%2C%20125%2C%20139%2C%200)&backColor=rgb(68%2C%20138%2C%20255)&crop=0&backgroundShape=square&effects=none&name=ic_launcher




How to retrieve the Sqlite database of an Android application to your computer (Windows/Linux)

In order to retrieve the database from the Android device to your computer, use the following commands :

adb exec-out run-as your.package.name cat /data/data/your.package.name/databases/yourdatabasename.db > C:\DestinationFolderOnYourComputer\yourdatabasename.db

adb exec-out run-as your.package.name cat /data/data/your.package.name/databases/yourdatabasename.db-shm > C:\DestinationFolderOnYourComputer\yourdatabasename.db-shm

adb exec-out run-as your.package.name cat /data/data/your.package.name/databases/yourdatabasename.db-wal > C:\DestinationFolderOnYourComputer\yourdatabasename.db-wal

Then you can open the database on your computer by using SQLiteDatabaseBrowser for example.

How to start the video recording of your Android device from adb shell

In order to start the video recording of your Android device from the command line on Windows or Linux, just use the following command :

adb shell screenrecord /sdcard/tmp.mp4

Then you have to press CTRL+C to stop the recording, and to retrieve the file to your computer, use the following command :

adb pull /sdcard/tmp.mp4


How to get logs from Android to a computer (Windows or Linux)

In order to get the logs from your Android device to your computer, just use a command of the following form :

adb logcat > C:\tmp\log.txt

Or

adb logcat your.package.name:I > C:\tmp\log.txt