Kamis, 31 Desember 2015

Install Virtualbox Guest Additions On VirtualBox - Kali Linux


Install VirtualBox Guest Additions In Kali Linux....

Previously has discussed about http://arief-jr.blogspot.com/2015/12/fix-apt-transport-https-could-not.html. Which are problem after update on Kali Linux OS, but this problem has fixed.

For installing virtualbox guest additions packages in kali linux virtualbox, first step time should prepare a few steps.

The first thing do this :

Check repository Kali Linux on /etc/apt/sources.list 
as the following example :

#Regular Repositories
deb http://http.kali.org/kali sana main non-free contrib
deb http://security.kali.org/kali-security sana/updates main contrib non-free

#Source Repositories
deb-src http://http.kali.org/kali sana main non-free contrib
deb-src http://security.kali.org/kali-security sana/updates main contrib non-free

After checking your kali linux repository, then type command with :

# apt-get update && apt-get update -y install linux-headers-$(uname -r)

But after update & install linux-header i get message like this :


For this solution, i type update & upgrade command :

# apt-get update && apt-get upgrade

After upgraded, and then type again with command :

# apt-get install -y linux-headers-$(uname -r)

Okay, Done.

Now for install VBOXADDITIONS.iso from virtualbox, select menu on devices like this

and select insert virtualbox guest image.

Wait for a second, this VBOXADDITIONS.iso will mounted on desktop like this uppermost picture.

After mounted, will show this message for run this software and happen this software can't run like this pictures :

Alternatives, you must copy this VBoxAdditions.run to your place e.g /root/

# cp /media/cd-rom/VBoxLinuxAdditions.run /root/
# chmod 755 /root/VBoxLinuxAdditions.run
# cd /root (if not root place)
# ./VBoxLinuxAdditions.run


After complete Guest Additions installation, reboot your Kali Linux VM. And then you can see display mouse and screen integration as well as the ability to share folders with the host system.

Create Shared Folders With Host System - Kali Linux VM

After installation guest additions completed, now can create shared folders on system "host" with Kali Linux virtualbox "guest".

From the virtualbox manager, select menu on devices > shared folders > and choose what you want folders shared.


After changed, now reboot your VM machine.
This should be show like this picture :

Thus some Install guest additions on Kali Linux VM, there may be suggestions or ideas that you want to add? please add and contact me via G +


Thanks, may be useful and good luck!!!

Rabu, 30 Desember 2015

Fix "apt-transport-https" Could Not Installed On Kali Linux


How To Solved "Is The Package apt-transport-https installed" After Typing The Command "apt-get update" On Kali Linux

 

My Little Notes - This problem just happened on Kali Linux mine. After change the repository on Kali Linux suddenly when it want update a message like this "N: Is the package apt-transport-https installed?" 

I trying to install this package with command "apt-get install apt-transport-https" and package can't show to installing.

In the beginning i will install Virtualbox-Guest-addition on Kali Linux, before install has been type command for install kernel-headers but nothing.

I'm using Kali Linux 64 bit on Virtualbox, and finally i find on repository debian for download this package. Following the way download package "apt-transport-https" :

For Kali Linux 32 Bit

wget http://ftp.us.debian.org/debian/pool/main/a/apt/apt-transport-https_1.0.9.8.2_i386.deb
copy paste this command for download above to your terminal
After downloaded, try this command with "dpkg -i apt-transport-https_1.0.9.8.2_i386.deb"

For Kali Linux 64 Bit

wget http://ftp.us.debian.org/debian/pool/main/a/apt/apt-transport-https_1.0.9.8.2_amd64.deb
copy paste this command for download above to your terminal
After downloaded, try this command with "dpkg -i apt-transport-https_1.0.9.8.2_amd64.deb"

I don't know why kali-linux not use latest version apt-transpot-https, maybe kali linux debian based so all packages or library still using old version.
And you'll get this output like this screenshot below :


information : make sure your repository on /etc/apt/sources.list has inserted corectly.

A few of the explanations i gave about Fix problem "apt-transport-https" on Kali Linux.
Maybe someone would like to add a suggestion or idea? or there that you want to ask? please add and contact me on G+

Linux Network Tools For Monitoring And Security Guard In Local Area Network Or Internet


Linux Network Monitoring Tools 

  • Wireshark


Wireshark is tool for network monitoring, wireshark using as network administrator for capture and analyze network performance.

Usability Wireshark :
  • Network Analyzer
  • Capture data packets on network
  • Can capture someone IP address,host,tcp and others via filter on wireshark
  • Can using forensic tools, because wireshark like a double-edged knife
  • Can using with command line e.g tshark 

EtherApe


EtherApe is GUI tool for monitoring networks. EtherApe display network traffic monitoring graphically, on menu capture you can change this interface want using like wlan0, eth0 or lo0 (loopback). EtherApe is monitoring tools better because can capture live traffic or can read from tcpdump. The interface can also be refined using a network filter with pcap syntax.

Ethtool




Ethtool is text-based or CLI (command line interface), ethtool already there on Kali Linux. Ethtool using for display and monitoring some parametes in the network interface. It also can use for diagnose ethernet devices or interface and get more statistic from devices.

Nmap


Nmap is tool for scan network to find vulnerabilities on network system. Nmap also allow to scan server for open ports or can also detect which OS, could use this for SQL Injection vulnerabilities, network discovery  and other means to be related penetration testing.

Nmap have 2 interface, first can use with GUI (Graphical User Interface) and named Zenmap. Second, can use with CLI (Command Line Interface).

Traceroute

Traceroute is CLI tools as command for route display passed a packet that achieve the goal or make sure this packet achieve the goal.

Ngrep


Ngrep is a tool which are used for analyze packet sniffer easier to use and more concise output be compared tcpdump or tcpshow.
It’s pcap aware and will allow to specify extended regular or hexadecimal expressions to match against packets of.

Bmon


Bmon stand for Bandwidth Monitoring, bmon is tools for capture network related statistic and display bandwidth use on the network. Bmon can also interact with trough curses or through scipting.


Netstat


Netstat is a built-in tool that displays TCP network connections, routing tables and a number of network interfaces. It’s used to find problems in the network.

 SS


Instead of using netstat, it’s however preferable to use ss. The ss command is capable of showing more information than netstat and is actually faster. If you want a summary statistics you can use the command ss -s.

Tcpdump


Tcpdump will output a description of the contents of the packet it just captured which matches the expression that you provided in the command. You can also save the this data for further analysis.


Thus some tools to monitor the network, there may be suggestions or ideas that you want to add? please add and contact me via G +

Thanks maybe useful

Senin, 28 Desember 2015

How Reset Blogger/Blogspot Template To Blank


Reset Blogger Template To Blank

Template is an important thing in web or blog, with responsive and nice template certainly an added value to the blog we have. For get which are suitable template, sometimes we have template mutually. And the effect if always frequently change the template certainly will be felt if we were going to edit templates in HTML edit mode, ie some existing code in the previous template will be still stored in the new template we replace.

This tutorial will explain how to reset blogger template to blank
If you don't want existing code blogger template previous still attached, with this mode reset blogger template that is being used before changed with new template. And existing code on old template will gone or don't leave a mark scripts that are not used.

The following below are how to reset the blogger becomes blank template

  1. Click template on your blogger, and edit as html
  2. Block all code/script in blog or (Ctrl + a), then remove this script
  3. After removed, copy paste this script to your blogger template 
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html>
<html>
<head>
<title>Your title blog</title>
<b:skin><![CDATA[ ]]></b:skin>
</head>
<body>
<b:section id='example'/>
</body>
 </html>
Save template and see your blog
What about is easy not?? Such this tutorial reset blog template to blank may be useful and good luck !!!

How To Change Domain To .COM

How To Stop Blogger Country URL Redirection ???

Lately most blogger url redirect to third-level domain blogspot or domain blogspot country code. Impact many blogger complaining because greatly affect advertising google adsense does not reappear on their blog pages.

I feel too, This domain blogspot from .blogspot.com now become to .blogspot.co.id, .blogspot.co.uk, .blogspot.co.in etc. All bloggers around the world also experienced the same thing. I found this script for back domain to .blogspot.com and this script not affect if banned with google adsense.

History and reason Blogspot.com be changed 

Changes occur on 3 Sep 2015 where blogspot.com domain change or direct to blogspot.co.id, blogspot.co.uk, blogspot.co.in and so on. Actually the problem domain changes to dot en dot com, dot uk and others for this blogger has long been discussed, namely since 2012. But it was only done yesterday, while Japan itself has been used since long jp domain or Germany with its dot de. Blogspot.com will only be used for the United States alone.

Google is already known to be very like the base location for each product. And upholds the rules that exist in each country. That's why Google enforces it. With this change, one thing for sure, according to Google, is every blogger account we will adjust to the location we are. So if we are in India or in Indonesia, our blogger account will be co.in or co.id whereas if we access it in America, will be .com





For Solve This Problem!!!

Although Google has implemented such a system, but we can be changed in order come back to blogspot.com. This script for redirect again to blogspot.com, please see this below:


<script type='text/javascript'>
var str=window.location.href.toString();if("-1"==str.indexOf(".com/")){var str1=str.substring(str.lastIndexOf(".blogspot."));if("-1"==str1.indexOf("/"))var str2=str1;else var str2=str1.substring(0,str1.indexOf("/")+1);window.location.href=window.location.href.toString().replace(str2,".blogspot.com/ncr/")}
</script>
 So the discussion and explanation, may useful and good luck !!!

Change Credit Link "Powered By Blogger" In Blogspot


Change Attribution or Credit Link "Powered By Blogger" In Default Blogspot Template ???

In previous post have discussed 'How to remove attribution "Powered By Blogger" on default blogspot template'.
This time will discussed how change credit link or attribution on default blogspot template, okay follow step by step:

  • Remove widget attribution on default blogspot template 

    1. On blogger, click template and edit html
    2.  Find this code (Ctrl + F) "<!-- outside of the include in order to lock Attribution widget -->"
    3. change "lock" to "unlock"
    4.  If done, find this widget "<b:widget id='Attribution1' locked='true' title='' type='Attribution'>"
    5. change "true" to "false"
    6. And save template.
  •   Change Attribution or Credit Link

    1. Click to layout
    2. Remove the widget attribution
    3. Add new widget and change to html/javascript
    4.  And copy paste this bellow code

    <div id='footer'>
    <div class='footer section' id='footer'/>
    <p>
    <table border='2' cellpadding='1' cellspacing='0' width='100%'>
    <tr>
    </td>
    <td align='left' valign='middle'>Copyright &#169; 2015 | <a href='http://arief-jr.blogspot.com/' title='http://arief-jr.blogspot.com/'>My Little Notes | arief-jr.blogspot.com</a><br/>
    Powered By <a href='http://arief-jr.blogspot.com/' title='blogger'>Blogger</a><br/>

    My Little Notes
    </td>
    </tr>
    </table>
    </p>
    </div>

    The result after this change, see my screenshot:


    Information :
    • In the mark "blue" type, change to your url blog and title blog
    • In the mark "red" type, change your name or whatever.

    May be useful and good luck !!!

How To Remove Attribution "Template Simple. Powered By Blogger" On Blogger

blogger

How Remove Attribution "Template simple. Powered By Blogger" ???

For remove this attribution on blogger is very easy, and allowed by owner ie Google.
Why we want remove this attritbution?? because if you don't want the look footer or you bored because default blogger template always show attribution and can't remove.
Here will share, how to remove attribution default blogger template.
There are 3 ways to eliminate attribution on default blogger template :

  • Trick 1 Remove This Attribution Default Blogger Template

    1. Click "Template"
    2. Click "Edit HTML"
    3. Find Code or (CTRL+F) ]]></b:skin> 
    4. Copy and Paste this code above this code ]]></b:skin>

      #Attribution1 {height:0px;visibility:hidden;display:none} 
    5. Save Template!
  •  Trick 2 Remove This Attribution Default Blogger Template

    1. Find Code <b:widget id='Attribution1' locked='true' title='' type='Attribution'> 
    2. Change word "true" jadi "false": <b:widget id='Attribution1' locked='false' title='' type='Attribution'> 
    3. Save Template
    4. Click Layout
    5. Remove Widget "Attribution Powered by Blogger"
     
  • Trick 3 Remove This Attribution Default Blogger Template

    1. Click Template > Edit HTML
    2. Find "attribution" and Remove all code included word "attribution", starting with <b:widget... and end with code </b:widget>
    3. Save Template!  
     
So remove attribution default blogger template is very easy, but on trick 1 i mean not remove but for hide on template if preview.
May be useful and good luck !!!

Create Simple Contact Form In Blogger

Okay, i will explain how Create Simple Contact Form In Blogger. Why is simple contact form?? because for create this contact form we don't need third-party website. Talk Contact form is very important i think, cause function as correspondence and personal media. Although there are already many other media, however contact form page be choose for privacy guard between the two sides, That is blog/websiter owner and User Visitor.

Add Contact Form Widget To Blog

Before tide contact page on blogspot, you must add widget contact form on layout blogspot e.g layout page > add gadget > contact form and put in any place.


 

Then find code as follows and remove some parts and leaving like this :
<b:widget id='ContactForm1' locked='false' title='Contact Form' type='ContactForm'>
<b:includable id='main'>

<< Remove this part >>
</b:includable>
</b:widget>
</b:section>
 
And now save your template.

Create Contact Us Page

For create contact us on your blog page, you can create new post or new page on blog whatever you want. If finish put this code to your new page or new post this bellow:



<form name="contact-form">
<span style="color: #666666; font-family: Arial,Helvetica,sans-serif; font-weight: 700;"><i class="fa fa-user"></i> Name </span>
<input id="ContactForm1_contact-form-name" name="name" size="30" type="text" value="">

<span style="color: #666666; font-family: Arial,Helvetica,sans-serif; font-weight: 700;"><i class="fa fa-envelope"></i> Email Address <span style="color: #f56954; font-size: x-small; font-weight: bold;">important</span></span>
<input id="ContactForm1_contact-form-email" name="email" size="30" type="text" value="">

<span style="color: #666666; font-family: Arial,Helvetica,sans-serif; font-weight: 700;"><i class="fa fa-pencil-square-o"></i> Content <span style="color: #f56954; font-size: x-small; font-weight: bold;">important</span></span>
<textarea cols="25" id="ContactForm1_contact-form-email-message" name="email-message" rows="5"></textarea>
<input id="ContactForm1_contact-form-submit" type="button" value="Send">
<div style="max-width: 222px; text-align: center; width: 100%;">
<div id="ContactForm1_contact-form-error-message" class="contact-form-error-message">
</div>
<div id="ContactForm1_contact-form-success-message" class="contact-form-success-message">
</div>
</div>
</form>

<style scoped="style" type="style"> #comments,.post_meta,#blog-pager {display:none;} #ContactForm1_contact-form-name, #ContactForm1_contact-form-email{ width:100%;height:auto;margin:5px auto;padding:10px;background:#fff;color:#444;border:1px solid #ddd;border-radius:3px;box-sizing:border-box;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;transition:all 0.5s ease-out;} #ContactForm1_contact-form-email-message{width:100%;height:175px;margin:5px 0;padding:10px;background:#fff;color:#444;font-family:'Open Sans',sans-serif;border:1px solid #ddd;border-radius:3px;transition:all 0.5s ease-out;} #ContactForm1_contact-form-name:focus, #ContactForm1_contact-form-email:focus, #ContactForm1_contact-form-email-message:focus{outline:none;background:#fff;color:#444;border-color:rgba(81,203,238,1);box-shadow:0 0 5px rgba(81,203,238,0.7);} #ContactForm1_contact-form-submit {width:100%;font-family:'Open Sans';float:left;background:#fff;color:#aaa;margin:10px auto;vertical-align:middle;cursor:pointer;padding:10px 18px!important;font-weight:700;font-size:14px;text-align:center;text-transform:uppercase;letter-spacing:0.5px;border-radius:3px;background-image: linear-gradient(110deg, #7986cb 0%, #7986cb 50%, transparent 50%, transparent 100%);background-size:200%;background-position:120% 0;background-repeat:no-repeat;border:1px solid #ddd;transition:all .8s ease, background-position .8s ease, color .8s ease;} #ContactForm1_contact-form-submit:hover {color:#fff;background-position:0 0;border-color:#7986cb;} #ContactForm1_contact-form-error-message, #ContactForm1_contact-form-success-message{ width:100%;margin-top:35px;} .contact-form-error-message-with-border {background:#f36c60;border:none;box-shadow:none;color:#fff;padding:5px 0;} .contact-form-success-message {background:#4fc3f7;border:none;box-shadow:none;color:#fff;} img.contact-form-cross {line-height:40px;margin-left:5px;} </style> <div style="clear:both;">
</div>

DEMO