β β β Uππ»βΊπ«Δπ¬πβ β β β
π¦ The principle of gesture operation
First of all, in the Android system, each gesture interaction will be executed in the following order.
1. The moment the touch screen is touched, a MotionEvent event is triggered.
2. The event is monitored by OnTouchListener, and the MotionEvent object is obtained in its onTouch() method.
3. Forward the MotionEvent object to OnGestureListener through GestureDetector (gesture recognizer).
4. OnGestureListener obtains the object, listens to the information encapsulated by the object, and makes appropriate feedback.
This sequence can be said to be the principle of gesture operation.
Gesture operation class and interface
Let's take a look at MotionEvent, GestureDetector and OnGestureListener together .
MotionEvent: This class is used to encapsulate motion events such as gestures, touch pens, trackballs, etc. Two important attributes X and Y are encapsulated inside, which are used to record the coordinates of the horizontal axis and the vertical axis respectively.
GestureDetector: Recognize various gestures.
OnGestureListener: This is a gesture interaction monitoring interface, which provides multiple abstract methods, and calls the corresponding method according to the gesture recognition result of GestureDetector.
Gesture operation example
Next, I will demonstrate the implementation of gesture interaction through a code example of switching beautiful pictures, so that everyone has a deeper understanding and memory of the execution sequence above and the distinction between gestures.
First, provide a layout file with only ImageView-main.xml.
π΅XML/HTML code
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent">
<ImageView android:id="@+id/image" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_gravity="center"/>
</LinearLayout>
(don't clone any tutorial fro here, you can forward as well)
β β β Uππ»βΊπ«Δπ¬πβ β β β
π¦ The principle of gesture operation
First of all, in the Android system, each gesture interaction will be executed in the following order.
1. The moment the touch screen is touched, a MotionEvent event is triggered.
2. The event is monitored by OnTouchListener, and the MotionEvent object is obtained in its onTouch() method.
3. Forward the MotionEvent object to OnGestureListener through GestureDetector (gesture recognizer).
4. OnGestureListener obtains the object, listens to the information encapsulated by the object, and makes appropriate feedback.
This sequence can be said to be the principle of gesture operation.
Gesture operation class and interface
Let's take a look at MotionEvent, GestureDetector and OnGestureListener together .
MotionEvent: This class is used to encapsulate motion events such as gestures, touch pens, trackballs, etc. Two important attributes X and Y are encapsulated inside, which are used to record the coordinates of the horizontal axis and the vertical axis respectively.
GestureDetector: Recognize various gestures.
OnGestureListener: This is a gesture interaction monitoring interface, which provides multiple abstract methods, and calls the corresponding method according to the gesture recognition result of GestureDetector.
Gesture operation example
Next, I will demonstrate the implementation of gesture interaction through a code example of switching beautiful pictures, so that everyone has a deeper understanding and memory of the execution sequence above and the distinction between gestures.
First, provide a layout file with only ImageView-main.xml.
π΅XML/HTML code
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent">
<ImageView android:id="@+id/image" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_gravity="center"/>
</LinearLayout>
(don't clone any tutorial fro here, you can forward as well)
β β β Uππ»βΊπ«Δπ¬πβ β β β
Forwarded from DailyCVE
π΅Nagios XI remote code execution vulnerability:
https://dailycve.com/nagios-xi-remote-code-execution-vulnerability
https://dailycve.com/nagios-xi-remote-code-execution-vulnerability
Dailycve
Nagios XI remote code execution vulnerability | CVE
Details:
Nagios XI, including dashboards, web-based setup, advanced reporting and rich data visualization, is a market monitoring solution built on Nagios Core.
The "Manage Plug-in" page in Nagios XI 5.8.0 or earlier has a remote code execution flaw.β¦
Forwarded from DailyCVE
π΅IBM Security Guardium Insights Information Disclosure Vulnerability:
https://dailycve.com/ibm-security-guardium-insights-information-disclosure-vulnerability
https://dailycve.com/ibm-security-guardium-insights-information-disclosure-vulnerability
Dailycve
IBM Security Guardium Insights Information Disclosure Vulnerability | CVE
Details:
IBM Security Guardium Insights is a digital data security hybrid cloud center developed to offer a reliable view of the data security and enforcement status of an enterprise.
IBM Encryption Guardium Insights 2.0.2 has a flaw in privacy disclosure.β¦
Forwarded from UNDERCODE NEWS
It's not possible to charge MacBook Pro, netizens collectively fry pot, Apple responds: device issue.
#Bugs
#Bugs
Forwarded from UNDERCODE NEWS
Microsoft patches odd defects in the successful execution of malware in Windows Defender.
#Vulnerabilities
#Vulnerabilities
Forwarded from DailyCVE
π΅Unpatched weak password vulnerability exists in the firewall gateway management system:
https://dailycve.com/unpatched-weak-password-vulnerability-exists-firewall-gateway-management-system
https://dailycve.com/unpatched-weak-password-vulnerability-exists-firewall-gateway-management-system
Dailycve
Unpatched weak password vulnerability exists in the firewall gateway management system | CVE
Details:
Youyou is a registered trademark of Shenzhen Hechen Technology Communication Co., Ltd. In 1998, the company was founded. Mailgard Youyou series mail server, mail archive, spam filtering gateway, mail gateway, global mail gateway, gateway forβ¦
Forwarded from DailyCVE
π΅Unpatched Information disclosure vulnerability exists in DedeCMSV6:
https://dailycve.com/unpatched-information-disclosure-vulnerability-exists-dedecmsv6
https://dailycve.com/unpatched-information-disclosure-vulnerability-exists-dedecmsv6
Dailycve
Unpatched Information disclosure vulnerability exists in DedeCMSV6 | CVE
Details:
DedeCMSV6 is developed based on PHP7.x, is extensible, and is completely open source.
DedeCMSV6 has an information disclosure vulnerability. Attackers can use vulnerabilities to obtain sensitive information
Affected Version:
DEDECMSV6 6.0.2β¦
Forwarded from UNDERCODE NEWS
The Russian authorities want licenses to be enforced for calls via Skype, Viber, WhatsApp
#International
#International
Forwarded from UNDERCODE NEWS
In the US, Xiaomi has fallen out of favour. Now, along with Huawei, she is on the "black list"
#Technologies
#Technologies
β β β Uππ»βΊπ«Δπ¬πβ β β β
π¦2021 release: Added New Tools
Reverse Engineering
RAT Tools
Web Crawling
Payload Injector
Multitor Tools update
Added Tool in wifijamming
πΈπ½π π π°π»π»πΈπ π°π πΈπΎπ½ & π π π½ :
1) git clone https://github.com/Z4nzu/hackingtool.git
2) chmod -R 755 hackingtool
3) cd hackingtool
4) sudo pip3 install -r requirement.txt
5) bash install.sh
6) sudo hackingtool
7) choose option via numbers
β β β Uππ»βΊπ«Δπ¬πβ β β β
π¦2021 release: Added New Tools
Reverse Engineering
RAT Tools
Web Crawling
Payload Injector
Multitor Tools update
Added Tool in wifijamming
πΈπ½π π π°π»π»πΈπ π°π πΈπΎπ½ & π π π½ :
1) git clone https://github.com/Z4nzu/hackingtool.git
2) chmod -R 755 hackingtool
3) cd hackingtool
4) sudo pip3 install -r requirement.txt
5) bash install.sh
6) sudo hackingtool
7) choose option via numbers
β β β Uππ»βΊπ«Δπ¬πβ β β β
GitHub
GitHub - Z4nzu/hackingtool: ALL IN ONE Hacking Tool For Hackers
ALL IN ONE Hacking Tool For Hackers. Contribute to Z4nzu/hackingtool development by creating an account on GitHub.
β β β Uππ»βΊπ«Δπ¬πβ β β β
π¦Support & Share undercode telegram links:
T.me/UndercodeUpdates
T.me/UndercodeTesting
T.me/DailyCve
T.me/UndercodeNews
t.me/UndercodeChat
T.me/Undercode_Testing
Enjoy & Stay safe !
For feedback: Feedback@Undercode.help
β β β Uππ»βΊπ«Δπ¬πβ β β β
π¦Support & Share undercode telegram links:
T.me/UndercodeUpdates
T.me/UndercodeTesting
T.me/DailyCve
T.me/UndercodeNews
t.me/UndercodeChat
T.me/Undercode_Testing
Enjoy & Stay safe !
For feedback: Feedback@Undercode.help
β β β Uππ»βΊπ«Δπ¬πβ β β β
Forwarded from UNDERCODE TESTING
π΅Discourse security vulnerability (DC: 200 -2021)
https://dailycve.com/discourse-security-vulnerability
https://dailycve.com/discourse-security-vulnerability
Dailycve
Discourse security vulnerability | CVE
Details:
Discourse is a dialogue forum for an open source culture. Apps such as group, email and chat rooms are included in the platform. Discourse 2.7.0 by beta1 has a security weakness resulting from the dependency of 2FA on such rate-limit types.
β¦