Showing posts from 2016

Getting started with Virtualization

Installing and configuring Fedora For virtualized guests This section covers setting up libvirt on your system. After the successful completion of this section you will be able to create virtualized guest operating systems. System requirements

[root@localhost ~]# dnf search libvirt | grep network
libvirt-daemon-driver-network.x86_64 : Network driver plugin for the libvirtd
libvirt-daemon-config-network.x86_64 : Default configuration files for theAnd run what you want .. Or Do This :

Quick C Reference


C/C++ for VS Code

Getting StartedTo install the Microsoft C/C++ extension: Open VS Code.Click the Extensions View icon on the Sidebar.Search for cpptools.Click Install, then click Enable.Open a folder that contains your C/C++ code.You should now create a tasks.json file in your workspace .vscode folder that looks something like: {
"version": "0.1.0",
"command": "gcc",
"isShellCommand": true,
"showOutput": "always",
"args": ["-g","FILENAME.c"]
}After that you can generate a.out file by pressing CTRL+SHIFT+B.

To enable debugging, you will need to create a launch.json file in .vscode folder : 
    "version": "0.2.0",
    "configurations": [
            "name": "C++ Launch",
            "type": "cppdbg",
            "request": "launch",
            "program": "${workspaceRoot}/a.out",

Users names and passwords

How to view, add, remove or edit the saved Users names and passwords on a given system  To do this:- 1] Start> Run> type in:rundll32.exe keymgr.dll,KRShowKeyMgr > OK

One can also use Control Userpasswords2

Start>Run>type in:Control Userpasswords2 > OK

Click the Advanced tab and then click Manage Passwords.

Hide Data in a Text File "Windows"

First Check This Files and Clusters And Streams v1.6 know Check the Picture

Share a Wired or Wireless Internet Connection in Windows 10

If you’re running Windows 10 with theAnniversary Update installed, then you’re in luck. With that update, Windows now has a single switch for turning any PC with Wi-Fi into a hotspot, and it doesn’t matter whether the Internet connection you want to share is wired or wireless. First, fire up Settings by pressing Windows+I on your keyboard. On the main Settings page, click “Network & Internet.”

On the Network & Internet page, on the left-hand side, click “Mobile hotspot.”

On the right-hand side, turn on the “Share my Internet connection with other devices” switch. If you want something other than the default network name and password, click the “Edit” button.

In the Edit window, type whatever network name and password you want to use and then click “OK.”
And that’s all you really have to do in Windows 10. It’s one of the best new features of the Windows 10 Anniversary Update, even though it rolled out with relatively little fanfare.

Whois Domain by NetCat

whois Protocol by Netcat tool : # >nc -v 43
Ncat: Version 7.12 ( )
Ncat: Connected to
Whois Server Version 2.0
Domain names in the .com and .net domains can now be registered
with many different competing registrars. Go to
for detailed information.
   Domain Name: GOOGLE.COM
   Registrar: MARKMONITOR INC.
   Sponsoring Registrar IANA ID: 292
   Whois Server:
   Referral URL:
   Name Server: NS1.GOOGLE.COM
   Name Server: NS2.GOOGLE.COM
   Name Server: NS3.GOOGLE.COM
   Name Server: NS4.GOOGLE.COM
   Status: clientDeleteProhibited
   Status: clientTransferProhibited
   Status: clientUpdateProhibited
   Status: serverDeleteProhibited
   Status: serverTransferProhibited…

My .bashrc file "Saved"

export PS1="\[\033[38;5;14m\][\[$(tput sgr0)\]\[\033[38;5;10m\]\u\[$(tput sgr0)\]\[\033[38;5;11m\]@\[$(tput sgr0)\]\[\033[38;5;160m\]\h\[$(tput sgr0)\]\[\033[38;5;15m\] \[$(tput sgr0)\]\[\033[38;5;14m\]\W\[$(tput sgr0)\]\[\033[38;5;15m\] \[$(tput sgr0)\]\[\033[38;5;3m\]\l\[$(tput sgr0)\]\[\033[38;5;14m\]]\[$(tput sgr0)\]\[\033[38;5;15m\] \[$(tput sgr0)\]\[\033[38;5;11m\]\\$\[$(tput sgr0)\]\[\033[38;5;15m\] \[$(tput sgr0)\]"

PROMPT_COMMAND='echo -ne "\033]0;Terminal\007"'
PS1="\[\e[4;36m\]\h\[\e[1;31m\]$\[\e[0m\] "

Run Android Emulator Command Line

sdk/tools/# ./android avd List All Images :
sdk/tools# ./emulator -list-avds
Nexus_4_API_17 Run an Image :
sdk/tools/# ./emulator @Galaxy_Nexus_API_18

XSS Test

Let’s start…
Example 1:
<script> alert(‘1st example’)</script>Example 2:
<ScripT>alert(‘ex2’)</ScripT>Example 3:
<sc<script>ript>alert(‘ex3’)</sc</script>ript>Example 4:
<h1><font color=blue>ex4</h1><img src=” ” onerror=alert(‘ex4’)/>Example 5:
“;promtp(‘ex6’);”Example 6:
‘;alert(‘ex7′);’Example 7:
“><script>alert(‘ex8’)</script>Example 8:
# <script>alert(‘ex9’)</alert>
That’s it for now. Stay tuned for more posts in the future…

SQL Injections in URL Rewrite

First of all, what is URL rewrite?
You’ve likely seen sites with this schema in URLs:
Most everyone knows how to test for SQL injection in this situation —>' or and 2.5=2.5 or and 3.4=3.5 and etc.
But, in URL rewrites, this URL will become {id is hidden and the parameter 1 is used in url}

For testing SQL injection in these kind of URLs, we just use our payloads as before, but after the parameter :' or and 3.6=3.6 and 3.6=3.77
and etc.
The results would be the same as a normal post parameter.
For  testing SQL injection with SQLMAP, we just use a star in the format. For instance:
sqlmap -u “*" --random-agent --level 5 --risk 3 --dbs
sqlmap -u “*/1" --random-agent --level 5 --risk 3 --dbs
For injecting in the content parameter, t…

Conky Variables " Commands "

VariableArguments () = optionalExplanationacpiacadapter(adapter)ACPI ac adapter state. On linux, the adapter option specifies the subfolder of /sys/class/power_supply containing the state information (tries "AC" and "ADP1" if there is no argument given). Non-linux systems ignore it.
acpifanACPI fan state
acpitempACPI temperature in C.
addr(interface)IP address for an interface, or "No Address" if no address is assigned.
addrs(interface)IP addresses for an interface (if one - works like addr). Linux only.
adt746xcpuCPU temperature from therm_adt746x
adt746xfanFan speed from therm_adt746x
alignc(num)Align text to centre
alignr(num)Right-justify text, with space of N
apcupsdhostSets up the connection to apcupsd daemon. Prints nothing, defaults to localhost:3551
apcupsd_cablePrints the UPS connection type.