Tag:System file

  • Exception handling of playing with windows subsystem


    review Play with the installation of windows subsystem Playing with windows subsystem vs. virtual machine Path optimization of playing with windows subsystem Playing the path shuttle of windows subsystem overview In fact, this chapter should be the first lesson, but because I have no experience and have not taken this into account, I can only […]

  • Debian (Linux) system network configuration


    Take debian10 as an example, 1. Set up wired network for four configurations in desktop environment Gnom classic mode can be selected on the desktop Debian10 manual wired network configuration ip192 168.8. xxx; Subnet mask; Gateway; DNS114. 114.114.114 Win7 virtual machine network configuration four IP configurations for IPv4 attributes 192.168.8 xxx 2. VI […]

  • Android 10 adapter


    1. Android 10 cannot obtain IMEI information. Use the following code to obtain it public String getIMEIDeviceId(Context context) { String deviceId; if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q) { deviceId = Settings.Secure.getString(context.getContentResolver(), Settings.Secure.ANDROID_ID); } else { final TelephonyManager mTelephony = (TelephonyManager) context.getSystemService(Context.TELEPHONY_SERVICE); if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) { if (context.checkSelfPermission(Manifest.permission.READ_PHONE_STATE) != PackageManager.PERMISSION_GRANTED) { return “”; } } assert mTelephony […]

  • I want to quietly inject and amaze everyone! (SQL quick injection vulnerability technique)


    1. Use burpsuite: 1. Capture the request using burpsuite. 2. Send the request to burp scanner. 3. Proceed with active scan. 4. Once the scan is finished, look for SQL vulnerability that has been detected. 5. Manually try SQL injection payloads. 6. Use SQLMAP to speed up the process. 2. Use waybackurls and other tools: […]

  • Jason analysis


    Error parsing JSON data: invalid UTF-8 middle byte 0xc5 Problem Description: When calling someone else’s interface to push JSON data, there is an error parsing Chinese characters. resolvent: Method 1. Add-Dfile.encoding=UTF-8, forcibly set the system file encoding format to UTF-8. Method 2. Set character encoding when obtaining the output byte streamparam.getBytes(“UTF-8”),getBytes(): the default is to […]