Mentor's blog

zmodopipe: connect Zoneminder with several DVR

Thanks to zmodopipe we can connect Zoneminder with several commercial DVR as the Zmodo ones, this is a project that have been started on the Zoneminder forum by the user Phoenix84 and has been continued on github by the user pbeyl . I'm simply copying it here for backup purposes. Here the code of zmodopipe.c: /***************************************** * Read QSee/Zmodo cameras * * Forward stream...

Vodafone Station: find and use the Vodafone DDNS

The Vodafone Station can be reached remotely by smartphone with its own app and for make this possible the Vodafone uses a proprietary DDNS. Knowing the above info we can get this DDNS and we can use it for our needs. To know what is the DDNS that our Vodafone Station uses we can simply reach with the browser this address: vodafone.station/main.cgi?action=getconf to download the Vodafone Station'...

Grub2 and WindSLIC: insert WindSLIC entry instead of the Windows Bootloader one

We can customize the Grub2 to boot Windows via WindSLIC. We have to create the grub's configuration /etc/grub.d/25_windslick: #!/bin/sh exec tail -n +3 $0 # This file provides an easy way to add custom menu entries. Simply type the # menu entries you want to add after this comment. Be careful not to change # the 'exec tail' line above. menuentry 'Windows Boot Manager (su /dev/sda1)' --class...

Vstarcam: download the firmware of an IP Camera

The firmware of a Vstarcam IP Camera is composed by a Firmware part and a Web UI part. Every camera has its own version code for the two firmwares and we can find their version code from the camera web server. For example for the Vstarcam C7824WIP we have: Firmware Version 48.53.72.79 Web UI Version EN53.8.1.14 The first three digits identify the IP Camera and the last digit is the firmware...

Linux: bash script to backup the OS

This is a really simple command/script to backup via rsync an entire Linux OS: #!/bin/bash rsync -aAXv --delete --exclude={"/dev/","/home/","/lost+found/","/media/","/mnt/","/proc/","/run/","/sys/","/tmp/"} / /media/Data_Backup/OS/ Source: wiki.archilinux.com

Android: how to edit or port a rom's apk

To edit an Android apk we have to accede at its content and to do this there are several software that simplify the usafe of Apktool : APK-Multi-Tool AutoAPKTool and if we have to edit the files smail in the odex file, the we can use the tools smali/backsmali . Here there are some standard commands to do smali/backsmali: #decompile java -jar baksmali.jar -o <deodexed_dir> <odex_file...

Script MATLAB to map the S-plane to Z-plane

The points of the s plane are related to the z plane by the function: and below the code of a MATLAB script to map on the z plane the points of the s plane: thetaS=0:pi/8:2*pi; circ=exp(j*thetaS); plot(circ);hold on zz=ones(size(circ))*(.00001+j*0.0001) plot([zz;circ]) axis 'square' % Visualising the complex exponential %&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&...

Windows: download the Debugging Tool as standalone archive

Officially to use the Windows Debugging Tool we have to download the whole Windows SDK and then we have to search it and install it. Fortunately Julien Crozon has extracted, packed and made available Windows Debugging Tool 6.12 as standalone archive, we have only to download it and execute Windbg: Debugging Tools for Windows v6.12 x64 Debugging Tools for Windows v6.12 x86 Source: bugslasher.net

Android: how to extract a System image

Usually to extract an image file of the Android /system partition we can use the simple Android Kitchen but if the System image is signed (System_signed) to extract it we have to use simg2img : #!/sbin/sh # python simg2img.py system_signed tmp.img sudo mount -t ext4 -o loop tmp.img extracted/ Sources: andwise , Hazou

Windows Update stuck on Checking for Updates: solve the problem with WSUS

If on Windows should happen that Windows Update search the updates forever, remaining stuck on "Checking for Updates" the simplest way to solve the problem is using WSUS Offline Update . Browsing the web for this problem a lot of people advise to install some packet or some patch, I tried everything and for me the only solution has been using WSUS Offline Update to search and install the missing...

Pages

Subscribe to RSS - Mentor's blog