-
Enter the user's folder. C:\Users\USER
-
Create the file: .wslconfig
-
Enter the following:
[wsl2]
memory = 4GB # Limits memory
processors = 2 # Limits virtual processors
import java.util.Arrays; | |
import java.util.Map; | |
import java.util.stream.Collectors; | |
public class AreSame { | |
public static boolean comp(int[] a, int[] b) { | |
if (a == null || b == null) return false; | |
int[] arrAlcuadrado = Arrays.stream(a).map(operand -> operand * operand).toArray(); | |
Arrays.sort(arrAlcuadrado); |
//SPDX-License-Identifier: MIT | |
pragma solidity ^0.8.0; | |
import "@openzeppelin/contracts/access/Ownable.sol"; | |
import "github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/utils/math/SafeMath.sol"; | |
contract Desafio is Ownable { | |
using SafeMath for uint256; | |
import requests | |
def verify_vulnerability(url) -> bool: | |
# Verify if the target is vulnerable | |
result = requests.get(url + "/xmlrpc.php") | |
if result.status_code == 405: | |
return True | |
else: | |
return False |
Enter the user's folder. C:\Users\USER
Create the file: .wslconfig
Enter the following:
[wsl2]
memory = 4GB # Limits memory
processors = 2 # Limits virtual processors