Skip to content

Instantly share code, notes, and snippets.

#Wireless Penetration Testing Cheat Sheet

##WIRELESS ANTENNA

  • Open the Monitor Mode
root@uceka:~# ifconfig wlan0mon down
root@uceka:~# iwconfig wlan0mon mode monitor
root@uceka:~# ifconfig wlan0mon up

Theme Builder Hooks

The Theme Builder provides a number of hooks allowing you to add wrapper HTML tags or fill in your custom theme's header or footer if necessary, when Theme Builder is active for the current page.

The Theme Builder and custom themes

When used in a custom theme, the Theme Builder may replace the header, body, footer or some combination of the previous depending on how the user configures their templates. Due to the nature of headers and footers in custom themes the Theme Builder will always treat them as a pair meaning that if you use a layout for either, both will be overridden.

As a custom theme developer, you may wish to add support for the Theme Builder so that when only the header is replaced your custom footer is still shown or when the footer is replaced your custom header is still shown. To achieve this you should use the provided layout hooks.

@Mediatros
Mediatros / adzhosts.txt
Created September 13, 2019 08:42 — forked from roddhjav/adzhosts.txt
AdZHosts
This file has been truncated, but you can view the full file.
# AdZHosts v0206 - FiX [2018-05-15]
#
# Archive of AdZHosts v0206.
#
# Former url: https://adzhosts.fr/hosts/adzhosts-android.txt
#
0.0.0.0 ___id___.c.mystat-in.net
0.0.0.0 _thums.ero-advertising.com
@Mediatros
Mediatros / AdList.txt
Created September 13, 2019 08:24 — forked from hermanjustinm/AdList.txt
Ad Block List
##StevenBlack's list
https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
##MalwareDomains
https://mirror1.malwaredomains.com/files/justdomains
##Cameleon
http://sysctl.org/cameleon/hosts
##Zeustracker
function custom_divi_header() {
//Insert HTML here
}
add_action( 'et_html_main_header', 'custom_divi_header' );
@Mediatros
Mediatros / 5-or-more-columns-in-Divi.css
Created February 28, 2018 22:47 — forked from amandalucas/5-or-more-columns-in-Divi.css
Create 5,or more columns easily in Divi
/* Add the class you need eg. five-columns to the ROW - not the module */
/*----------5 Columns----------*/
.five-columns .et_pb_module {
float: left;
width: 20%!important;
padding: 20px;
}
/* make three appear on a tablet row */
@Mediatros
Mediatros / Divi Mobile Logo Size
Created January 4, 2018 14:00 — forked from designbykrista/Divi Mobile Logo Size
Divi Mobile Logo Size
@media only screen and (max-width: 981px) {
#logo {
height: 100px; /*change this to adjust the size*/
max-height: 100px !important; /* change this to adjust the size */
padding-bottom:12px;
}
}
@Mediatros
Mediatros / functions.php
Created January 4, 2018 13:53 — forked from PierreBichet/functions.php
WP DIVI Bouton pour vider le cache local de Divi - Traduction FR
<?php
function ClearLocalCacheButton() { ?>
// Creation du bouton
<a href="#" onclick="ClearLocalCache()" class="et-pb-layout-buttons et-pb-layout-buttons-cache" title="Clear Cache">
<span>Vider le cache</span>
</a>
<script type="text/javascript">
// Place le bouton dans la barre d'onglets
jQuery(window).load(function(){
@Mediatros
Mediatros / 3d-Hover-Design-Interaction.markdown
Created April 18, 2015 22:45
3d Hover Design Interaction
@Mediatros
Mediatros / 0_reuse_code.js
Created January 31, 2014 11:50
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console