Tag: howto

HTML & CSS, JQuery

How to use jQuery datepicker

Include these files into your application: jquery jquery ui <link type="text/css" href="/css/jquery-ui.css" rel="stylesheet"/> <script type="text/javascript" src="/js/jquery-git2.js"></script> <script type="text/javascript" src="/js/jquery-ui.js"></script> Javascript Code $(document).ready(function() { $(function() { $( "#datepicker" ).datepicker({ dateFormat: "dd/mm/yy" }); }); });$(document).ready(function() { $(function() { $( "#datepicker" ).datepicker({ dateFormat: "dd/mm/yy" }); }); }); Html Code <label for="datepicker">datepicker</label> <input type="text" id="datepicker" name="datepicker" value="" /><label for="datepicker">datepicker</label> …

BeEF, Browsers, Exploitation

How to use BeEF – Quick Tutorial

BeEF – The Browser Exploitation Framework BeEF is short for The Browser Exploitation Framework. It is a penetration testing tool that focuses on the web browser. Amid growing concerns about web-borne attacks against clients, including mobile clients, BeEF allows the professional penetration tester to assess the actual security posture of a target environment by using …

Microsoft Windows

How to block a website using hosts file

1. Create a copy of hosts file (backup) (hosts file location in Windows 7: %windir%\System32\drivers\etc\) 2. Run notepad as administrator. 3. Create a new text file. 4. Open hosts file for editing and copy its contents . 5. Paste hosts file contents into your new text file. 6. Delete hosts file from %windir%\System32\drivers\etc\. 7. For …

General

How SSL Works

Secure Sockets Layer (SSL), is a cryptographic protocol that provides secure communication over the Internet. Secure communication has three main goals, privacy, message integrity, and authentication. SSL uses asymmetric cryptography for key exchange, symmetric encryption for privacy, and message authentication codes for message integrity. When the browser requests an SSL connection with the website, it …

Ubuntu

Introduction to Apt

All of these commands must be run as root or with superuser privileges. Installation apt-get install package_nameapt-get install package_name or apt-get install package_name1 package_name2 package_name3apt-get install package_name1 package_name2 package_name3 apt-get build-dep package_nameapt-get build-dep package_name This command searches the repositories and installs the build dependencies for package_name. Maintenance apt-get updateapt-get update Run this command periodically to …