sábado, 9 de noviembre de 2013
[How-to] Backdoor + DDNS + VM as server
This day I played with ¿Backdoor?, As I notices a principal module for creating a secure channel for communication between server<>client is outdated and don't work with lates version of python Crypto library (missed Iniciacion Vector in AES implementation), so I work for the update full this script to python 2.7.x and updated parts with AES encryption, so soon I hope I will send updated source to author and he will update it, and small bug fixes :)
But return to the initial theme, as I see many of the people have the problem with connections between DDNS(example: no-ip.com) with forwarding traffic from the router to the virtual machine.
After a bit of research I get the solution.
For start by parts:
1) How to Create a Free Redirect Domain With No IP
2) IMPORTANT: Set your virtual machine static ip address and put this machine in DMZ, and configure network card in bridge mode, for get the same ip range what and the rest of machines on your lan.
3) Set Up Port Forwarding on a Router
Finally as you can see everything work perfect :)
Best regards :)
domingo, 3 de noviembre de 2013
[How-to] How To View Passwords For Wi-Fi Access Points Saved On Your Android Device
With multiple Wi-Fi access points saved on your Android device, it is quite normal to forget the security key to a certain network. This article presents a small, handy work-around for the rare instance where you need to view a forgotten password. For instance, your friend needs to connect to the Wi-Fi network you’re currently using on your Android device, he or she asks you for the security key but you just can’t remember it. What do you do? Read on after the jump to find out.
Albeit through a counter-intuitive way, the app can help you with finding passwords of your Wi-Fi access points, old or new. This method requires your device to have root access. If it doesn’t, type “rootdevicename” in the search bar above to gain root access on your device using one of our own guides, or you may simply take a look at our comprehensive compilation of Android root guides to see if your device is listed there or not, and if it is, how to gain root access on it.
Also, you’ll need a file explorer that gives you read access to root-level documents. Root Explorer and Super Manager (Professional Edition) includes said feature.
- Navigate to the root directory /data/misc/wifi. If your file explorer opens the SD card (/mnt/sdcard) directory by default, press back twice to open the root directory, then navigate to the mentioned path.
- Open the document wpa_supplicant.conf. If you’re using Root Explorer, simply tap the file to open it in a text viewer or hold it (long tap) to open its context menu and select View as text to do the same.
- From within said file, you can view all your saved Wi-Fi access points along with their passwords. Look under the SSID (Access Point Name) of the Wi-Fi network whose password you need to view. The password is written within quotes in the line that says psk=”password”.
As evident by the screenshot above, once you open said conf file, you’ll be able to sneak peek into almost every access point that ever got registered with your Android. All you need to do is lookup for the required access point, note down the password displayed under it, key it in the password field, and you’re good to go. The above method has successfully been tested on HTC Desire Z (running CM7). Hopefully, we shall soon be introduced to an app that has the propensity to automatically fetch APs from said file, complete with passwords and other relevant settings, and tie them to the present APs with the same titles. Till then, manual route is the best route!
jueves, 31 de octubre de 2013
[How-to] Upgrade all package from PIP
To upgrade all package; you could use pip-tools:
$ sudo pip install pip-tools
$ sudo pip-review --interactive
$ sudo pip install pip-tools
$ sudo pip-review --interactive
lunes, 21 de octubre de 2013
[Script] VirusTotal public API v2 with all features
Right now, this public script is the only one supporting all VirusTotal API v2 features.
This script was made public into the official VT API documentation page.
Some screenshots of usage:
Search by hash
+18.28.04.png)
Search by hash verbose mode
Verbose mode will give you a lot of information if you search Domain/Ip address
For all features, check usage mode.
+18.43.12.png)
Best regards
viernes, 18 de octubre de 2013
[SLAE] Part 1: 32-Bit Assembly Language
1) Find CPU details in Ubuntu
cat /proc/cpuinfo
2) How do you know if you are on x32/x64 bit CPU
lscpu
3) How do you know your CPUs additional capabilities such as FPU, MMX, SSE, SS2, etc
lscpu
jueves, 3 de octubre de 2013
[How to] Query all windows services config from the command line
Windows < Windows 7
for /f "tokens=5 delims=\" %A in ('reg query HKLM\SYSTEM\CurrentControlSet\Services') do sc qc %A
Windows > Windows 7 box or otherwise have the option to use WMI you can use the following command:
wmic service get pathname
Source
domingo, 1 de septiembre de 2013
Create models.py from existing database
Ever wanted to use an old, existing, legacy database with a Django Project? That’s totally possible!
Django allows you to create a models.py file based on an existing database. To do this, you first have to make sure your database settings are properly specified in the settings.py file. Here’s an example of what the database settings in your settings.py file should look like:
DATABASE_ENGINE = ‘mysql’ # ‘postgresql_psycopg2′, ‘postgresql’, ‘mysql’, ’sqlite3′ or ‘oracle’.
DATABASE_NAME = ‘YourDataBaseName’ # Or path to database file if using sqlite3.
DATABASE_USER = ‘YourDataBaseUser’ # Not used with sqlite3.
DATABASE_PASSWORD = ’YourVerySecretPassword’ # Not used with sqlite3.
DATABASE_HOST = ” # Set to empty string for localhost. Not used with sqlite3.
DATABASE_PORT = ” # Set to empty string for default. Not used with sqlite3.
Then, from the command line, type:
python mysite/manage.py inspectdb > mysite/myapp/models.py
That should be all! Django created a models.py for you, based on the contents of the existing database.
Source: djangodays.com
Suscribirse a:
Entradas (Atom)

+12.26.45.png)
+18.25.33.png)
+18.35.39.png)
+18.35.09.png)

