Use Fiddler to capture mobile APP package detailed tutorial
There were two very difficult problems in the process of grasping the package in the mobile APP with Fiddler. One was that the phone could not connect To the network after setting the proxy, and the download certificate on the phone always indicated that the download failed. The other was that the information of grasping the package on the Fiddler was all displayed as Tunnel To. It took a long time to solve, and now share it to let some novices walk less detours, maybe my method can solve your problem, may not solve it, but also provide a way to try.
To set the fiddler
1. Download Fiddler from the website and install it. https://www.telerik.com/download/fiddler
2. First configure Fiddler, open Fiddler, and then click Tools –>; The Options… – & gt; HTTPS, check and install the certificate as shown in the installation diagram.


3 4.

3 4.

3 4 Click the OK button to close Fiddler and reopen it again. At this point, the Fiddler part is set up in the normal way, followed by some Settings on the phone.
5. Here I use millet portable WiFi, mobile phone connected to millet portable WiFi, so that the phone and computer connected is the same network segment.
Set the cell phone
6. Go to the WiFi Settings page on the mobile phone, change the agent to “Manual”, and the hostname is the IP address

after the computer is connected to the WiFi network. Open the mobile browser, enter the address open http://ipv4.fiddler:8866, (because I set the port number is 8866), click in the page FiddlerRoot certificate, certificate of download. I have encountered a problem here, is the certificate can not download, keep telling download failed. Up to now, I have encountered two problems that are difficult to solve. One is that the download certificate in the webpage fails to download; the second is that after opening the APP on the mobile phone, all the packages caught in Fiddler are displayed as Tunnelto. Now, how do I solve these two problems
Solution to the problem:
1. Download Cermaker from the Fiddler website, download it and run the plug-in.
download address: https://www.telerik.com/fiddler/add-ons
2. After the installation, we found that the TunnelTo problem was still not solved, and there is a new problem. On the mobile phone, open http://ipv4.fiddler:8866, instead, it shows No Root Certificate was found.Have you enabled HTTPS traffic decryption in fiddler yet?
3. So I tried the following solutions.
makecert.exe-r-ss my-n “CN= do_not_trust_fiddlerRoot, O=DO_NOT_TRUST, OU=Created by http://www.fiddler2.com “-Sky Signature -EKU 1.3.6.1.5.5.7.3.1-h 1-cy Authority -a sha1-m 120-b 09/05/2012
If you want to run the fiddler, you can restart the fiddler
4. Then open http://ipv4.fiddler:8866 in the browser on the phone, download the certificate, download and install it successfully, open the test APP, and find that the packet was captured successfully. HTTPS can catch the packet normally, but HTTP still shows Tunnel to, but it does not affect the use.
Author Archives: Robins
Solution to garbled code problem after importing project in eclipse
Eclipse garbled words after importing the project solutions
after importing the project in Eclipse, if the project code in Chinese, may produce Chinese garbled question, take a look at how to solve below
1. Right-click on the project name and select Properties.

. In the right side of the Resource item, find Text File Encoding. By default, Inherited from Container (GBK) is selected, and select Other.
Mac php7.4.13 using PECL installation extension to report error
In file included from /usr/local/Cellar/[email protected]/7.4.13_1/include/php/Zend/zend.h:356: /usr/local/Cellar/[email protected]/7.4.13_1/include/php/Zend/zend_operators.h:523:10: error: 'asm goto' constructs are not supported yet __asm__ goto( ^ /usr/local/Cellar/[email protected]/7.4.13_1/include/php/Zend/zend_operators.h:586:10: error: 'asm goto' constructs are not supported yet __asm__ goto( ^ /usr/local/Cellar/[email protected]/7.4.13_1/include/php/Zend/zend_operators.h:656:10: error: 'asm goto' constructs are not supported yet __asm__ goto( ^ /usr/local/Cellar/[email protected]/7.4.13_1/include/php/Zend/zend_operators.h:766:10: error: 'asm goto' constructs are not supported yet __asm__ goto( ^ 4 errors generated. make: *** [src/php7/igbinary.lo] Error 1 ERROR: `make' failed12345678910111213141516
/usr/local/Cellar/[email protected]/7.4.13_1/include/ PHP /Zend/ zend_operator. h
Zend_use_asm_arithmetic = 0
#if defined(HAVE_ASM_GOTO) && !__has_feature(memory_sanitizer) # define ZEND_USE_ASM_ARITHMETIC 0 #else # define ZEND_USE_ASM_ARITHMETIC 0 #endif12345
Never mind that both values of # are set to 0
JMeter linked database


The Database URL is filled with the local IP ➕ database port ➕ to link to
How to set vscode interface to Chinese
the relevant recommendation: basic course “vscode
vscode interface is set to the Chinese method
1. Visual Studio Code
br> 2> Open Visual Studio Code
br> <>bb3 3. At the same time, press the Ctrl + Shift + X shortcut
the “Expansion” view text box on the left and type “Language Packs”. Click on the Language you want. Here we install simplified Chinese
com.alibaba.fastjson .JSONException: For input string: “3000-01-01” or “9999-12-31”
Exception in thread "main" com.alibaba.fastjson.JSONException: For input string: "9999-12-31 00:00:00.000+0000"
at com.alibaba.fastjson.parser.DefaultJSONParser.parseObject(DefaultJSONParser.java:665)
at com.alibaba.fastjson.JSON.parseObject(JSON.java:365)
at com.alibaba.fastjson.JSON.parseObject(JSON.java:269)
at com.alibaba.fastjson.JSON.parseObject(JSON.java:488)
at com.xxx.xxx.main(StpBpmVariableSetter.java:146)
Caused by: java.lang.NumberFormatException: For input string: "9999-12-31 00:00:00.000+0000"
FastJSON is known to be fixed in version 1.2.49, and can be fixed with an upgrade
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>fastjson</artifactId>
<version>1.2.49</version>
</dependency>
Windchill: object rename record
IdentityChangeHistory: OrganizationReference, OrganizationReference, OrganizationReference, OrganizationReference, OrganizationReference, OrganizationReference, OrganizationReference, OrganizationReference… And other properties
SELECT h.oldvalue, h.newvalue
FROM identitychangehistory h, wtpartmaster m
WHERE h.ida3a3 = m.ida2a2
AND m.wtpartnumber = '<partNumber>'
Nat mode of network configuration for VMware virtual machine
Virtual machine network configuration
VMware Menu Bar – Edit – Virtual Web Editor





4
How to handle exception in springboot
SpringBoot exception handling in five ways: a, a custom error page:
SpringBoot default exception handling mechanism need to be in SRC/main/resources/templates directory to create the error. The HTML page (no matter what exceptions will intercept). Different to intercept errors is necessary under the templates to create the error folder named with error code to the HTML
2: @ ControllerAdvice + @ ExceptionHandler annotation processing abnormal
you need to create a global exception class that can handle the exception. You need to add the @ControllerAdvice annotation on this class.
@ ControllerAdvice
public class GlobalException {
@ ExceptionHandler (value = {Java. Lang. ArithmeticException. Class})
public ModelAndView arithmeticExceptionHandler (Exception e) {
ModelAndView mv = new ModelAndView();
mv. AddObject (” error “, e. oString ());
mv. SetViewName (” error “);
return mv;
}
}
> All you need to do is add the following method to the controller:
@ExceptionHandler(value={java.lang.ArithmeticException.class})
public ModelAndView arithmeticExceptionHandler(Exception e) {
ModelAndView mv = new ModelAndView();
mv. AddObject (” error “, e. oString ());
mv. SetViewName (” error “);
return mv;
}
requires the implementation of the HandlerExceptionResolver interface in the global exception class
@Configuration
public class GlobalException implements HandlerExceptionResolver {
@Override
public ModelAndView resolverException(HttpServletRequest request, HttpServletResponse response, Object object, Exception exception) {
ModelAndView mv = new ModelAndView();
if(Exception instanceof ArithMeticException) {
.setViewName (” error “);
}
mv. AddObject (” error “, the exception. The toString ());
return mv;
}}
5, configuration, exception handling SimpleMappingExceptionResolver
in the global exception class to add a method to complete the unification of the exception class
@Configuration
public class GlobalException {
public SimpleMappingExceptionResolver getSimpleMappingExceptionResolver() {
SimpleMappingExceptionResolver resolver = new SimpleMappingExceptionResolver();
Properties properties = new Properties();
properties. The put (” Java. Lang. ArithmeticException “, “error”);
resolver.setExceptionMappings(properties);
return resolver;
}
}
How to replace strings in VIM
Replacement string
Global, replace string:
Command mode :% s/old/new/g
Old, new does not need double quotes, g is global, without g is the first line to be changed example: % s/test_shm_tool.c/$(SOURCE)/g local, replace string:
: n1, n2 s/old_str/new_str/g, add c if each line is confirmed
Spring cloud config does not read bootstrap.properties/yml
Spring Cloud Config does not read bootstrap.properties/yml
Again, most of the problems in the SpringBoot Cloud are versioning issues

ter 2.4.0 is not available (so I revert to 2.3.7) and instead of using Spring Cloud2020, I use Hoxton.sr9



JavaScript to achieve image rotation effect
JavaScript implements the image rotation effect
Process is as follows:
create a div element in the body, two pictures in the div definition, add links to images, and set up the hyperlink tag a name attribute value of I.
<div id="tabs">
<a name="i" href="#"><img src="images/1.jpg" width="100%" height="350px" alt=""></a>
<a name="i" href="#"><img src="images/2.jpg" width="100%" height="350px" alt=""></a>
</div>
The CSS part:
#tabs{
width:100%;
height: 350px;
overflow: hidden;
float: left;
position: relative;
}
Javascript parts:
application document object getElementsByName () way to get the name attribute value for the I element, and then create a custom function changeimage (), the application of the setInterval () method, to do this every few seconds changeimage () function, control the rotation time.