POST提交的参数加密了如何查看参数(通过JS加密的)

页面地址:http://api.51pin.foxconn.com/iRecruitWeb/Recruit/Activity/ActivityParticipate.html?module=2

POST时的参数都被加密了
ActivityParticipate.c35bceda.js在这个加载的JS里找到AES加密KEY是:eaa34f53daf201e309e15d079eec15d5
这个KEY可以解密post后返回的信息
但发送前的数据参数解不开。
下面是提交时的加密参数
其中o和u的参数是固定不变的,JS里直接赋值了
主要是要看K和s的参数
{,…}
k:"rGDkKl/QJxf9ktlFMnBmZUAOVNHEneeBYW4i3lp+qZV+rkcVxtpopt9SHiATv0tf"
o:"1KA4uwBGXXSkgHW1snnrlQ=="
s:"OHQRp4+2sFQc+Z4oNDBYR5if3SUppELlw+CVAPnCZU48HucQb9RoZSLTHv56zUkvQCUcFQZkv6/7vDl10yvZL/5GNBIazKnxIXM8Tqpzy4fC6QXSmw/fSI7LepXH8BwJXJmBlthASHQ9iOdUN/rAaA=="
u:"7weOocer2tkQnKIklGZaMg=="

1个回答

o和u是BASE64加密?

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
问:php使用post方式提交data,进行js加密,然后显示出来

使用php的方式,一个a.php网页,把js插入到其中,然后把data用post的方式提交到a.php里面,然后用eval(data.sdk)计算出sign的值 [js内容](http://www.lovemhp.com/ip/js.txt "js显示内容,调用到php中") [data内容](http://www.lovemhp.com/ip/data.txt "php用post方式接收data内容")

使用md5.js加密,为什么不同的字符串,加密结果一样呢?

同题,不复述 附上md5.js原文件下载地地址: [md5.js](https://cdn.bootcss.com/blueimp-md5/2.0.0/js/md5.js "") ``` <html lang="en"> <head> <meta charset="UTF-8"> <title>登录</title> <script src="{% static '/md5.js'%}"></script> <script type="text/JavaScript"> function gook() { var S,X; S = document.getElementById("username"); if (S.value == "") { alert("用户名不可为空"); S.focus(); return; } S = document.getElementById("userpw"); if (S.value == "") { alert("密码不可为空"); S.focus(); return; } else { var hash = md5(S); document.getElementById("pwmd5").value = hash; } var f = document.getElementById("userlogin"); f.submit(); } </script> </head> <body> <table width="300" border="1"> <form action="/postmain/" method="post" id="userlogin" name="userlogin"> 用户名:<input type="text" name="username" id="username"/> 密 码:<input type="password" name="userpw" id="userpw"/> <input type="hidden" name="pwmd5" id="pwmd5"/> <input type="hidden" name="logined" value="True" id="logined"/> <td><a href="#" onclick="gook()">登录</a></td> </form> </table> </body> </html> ```

在laravel中URL加密的方式是什么?

<div class="post-text" itemprop="text"> <p>I am passing the POST Id values through the URL like this</p> <pre><code>localhost:81/laravel/public/Application/1956458 </code></pre> <p>So I would like to encrypt the Keys in the address bar. How can i achieve that?</p> </div>

js md5加密如何破解,坐等高手出现

http://wenshu.court.gov.cn/List/List?sorttype=1&conditions=searchWord+1+AJLX++%E6%A1%88%E4%BB%B6%E7%B1%BB%E5%9E%8B:%E5%88%91%E4 %BA%8B%E6%A1%88%E4%BB%B6 Param:案件类型:刑事案件 Index:1 Page:5 Order:法院层级 Direction:asc vl5x:cafb481a45903f321bb3d07b number:AKTVHKLTl guid:a650ea37-0ad5-059c25ac-08484ad972b2 F12后 本想发个post 请求,谁知道 下面的三个参数 vl5x number guid 是变动的 看了js 代码是md5加密 但是不知道如何破解,希望js 高手指教一下 谢谢!

API请求 所有参数按照字段名的ascii码从小到大排序后

URL:http://api.pcaexpress.com.au/tracking 请求类型:POST 请求参数: 参数 类型 api_id 字符串 必填 test 字符串 data 字符串 必填 sign 字符串 必填 除sign字段外,所有参数按照字段名的ascii码从小到大排序后使用keyvalue的格式(即key1value1key2=value2…)拼接而成,空值不传递,在拼接完的字符串前后俩段都加上API KEY密匙后进行MD5加密,最后将所有小写字母转为大写字母

RSA Javascript加密和Golang解密

<div class="post-text" itemprop="text"> <p>I have a scenario where I need to use <strong>RSA public key encryption standard</strong> with <strong>JavaScript</strong> and <strong>Golang</strong>. I need to encrypt data in JavaScript using public key and decrypt the same in Golang using the private key. I tried using <strong>PKCS#1(travst library for JavaScript and crypto/rsa for Golang)</strong>, but failed in decryption. Can anyone suggest solutions for this?</p> <p><strong>I tried all possible solutions and researched many documents, but still I couldn't find a proper method. If I do encrypt and decrypt within golang, its working fine. But there is some integration problem between javascript and golang. I am not sure about the padding methodology used in javasript.</strong></p> <p>This is my golang code to decrypt: </p> <pre><code>func Decrypt(encryptedData, label []byte) (decryptedData []byte) { var err error var block *pem.Block var private_key *rsa.PrivateKey if block, _ = pem.Decode([]byte(privatKeyData)); block == nil || block.Type != "RSA PRIVATE KEY" { //privatKeyData is in string format log.Fatal("No valid PEM data found") } //Read Private Key if private_key, err = x509.ParsePKCS1PrivateKey(block.Bytes); err != nil { log.Fatalf("Private key can't be decoded: %s", err) } //Decrypt if decrypted, err = rsa.DecryptPKCS1v15(rand.Reader, private_key, encryptedData); err != nil { log.Println(err) } return } </code></pre> </div>

使用loadrunner11录制的app代码,但是用户名和密码经过加密 怎样还原 进行参数化,

Action() { web_custom_request("login", "URL=http://app.yunzhidata.com/member/login", "Method=POST", "Resource=0", "RecContentType=application/json", "Referer=", "Snapshot=t1.inf", "Mode=HTML", "EncType=text/plain; charset=utf-8", "Body=eiMU1CCDzKu8JB33HGkh2EZENL9qQ4YVX6VJUOap1tYkQZMHOz4dHQ==", LAST); web_custom_request("myCenter", "URL=http://app.yunzhidata.com/center/myCenter", "Method=POST", "Resource=0", "RecContentType=application/json", "Referer=", "Snapshot=t2.inf", "Mode=HTML", "EncType=text/plain; charset=utf-8", "Body=j3ZLswwJ18EZFdydLSLJC5iutDBUr53hgcU9UWN4dPxpEdDEvWpjrwXo2DC2M/Sm", LAST); web_url("websocket", "URL=http://app.yunzhidata.com/websocket", "Resource=0", "Referer=", "Mode=HTML", LAST); web_custom_request("findWineMsgList", "URL=http://app.yunzhidata.com/trade/findWineMsgList", "Method=POST", "Resource=0", "RecContentType=application/json", "Referer=", "Snapshot=t3.inf", "Mode=HTML", "EncType=text/plain; charset=utf-8", "Body=j3ZLswwJ18EZFdydLSLJC5iutDBUr53hgcU9UWN4dPxpEdDEvWpjr5eW6lWns1H3gCK20/fWhWqE\nMPNFHzs2i0m+sJPAY8ulyGi8xpr3nEgmf0FIGsNe4Z3VxVL0jNP4", LAST); web_custom_request("market", "URL=http://app.yunzhidata.com/trade/market", "Method=POST", "Resource=0", "RecContentType=application/json", "Referer=", "Snapshot=t4.inf", "Mode=HTML", "EncType=text/plain; charset=utf-8", "Body=j3ZLswwJ18EZFdydLSLJC5iutDBUr53hgcU9UWN4dPxpEdDEvWpjr/XdmXLzFJ6ZDKtOExVH/8S1\n2AW/nBNT7g==", LAST); web_custom_request("findProdectList", "URL=http://app.yunzhidata.com/product/findProdectList", "Method=POST", "Resource=0", "RecContentType=application/json", "Referer=", "Snapshot=t5.inf", "Mode=HTML", "EncType=text/plain; charset=utf-8", "Body=j3ZLswwJ18EZFdydLSLJC5iutDBUr53hgcU9UWN4dPxpEdDEvWpjr/XdmXLzFJ6ZDKtOExVH/8S1\n2AW/nBNT7g==", LAST); web_custom_request("findWineMsgList_2", "URL=http://app.yunzhidata.com/trade/findWineMsgList", "Method=POST", "Resource=0", "RecContentType=application/json", "Referer=", "Snapshot=t6.inf", "Mode=HTML", "EncType=text/plain; charset=utf-8", "Body=j3ZLswwJ18EZFdydLSLJC5iutDBUr53hgcU9UWN4dPxpEdDEvWpjr5eW6lWns1H3gCK20/fWhWqE\nMPNFHzs2i0m+sJPAY8ulyGi8xpr3nEgmf0FIGsNe4Z3VxVL0jNP4", LAST); web_custom_request("queryNewsTypeList", "URL=http://app.yunzhidata.com/news/queryNewsTypeList", "Method=POST", "Resource=0", "RecContentType=application/json", "Referer=", "Snapshot=t7.inf", "Mode=HTML", "EncType=text/plain; charset=utf-8", "Body=j3ZLswwJ18EZFdydLSLJC5iutDBUr53hgcU9UWN4dPxpEdDEvWpjrwXo2DC2M/Sm", LAST); web_custom_request("index", "URL=http://app.yunzhidata.com/news/index", "Method=POST", "Resource=0", "RecContentType=application/json", "Referer=", "Snapshot=t8.inf", "Mode=HTML", "EncType=text/plain; charset=utf-8", "Body=j3ZLswwJ18EZFdydLSLJC5iutDBUr53hgcU9UWN4dPxpEdDEvWpjrwXo2DC2M/Sm", LAST); web_custom_request("findOrdinaryList", "URL=http://app.yunzhidata.com/news/findOrdinaryList", "Method=POST", "Resource=0", "RecContentType=application/json", "Referer=", "Snapshot=t9.inf", "Mode=HTML", "EncType=text/plain; charset=utf-8", "Body=j3ZLswwJ18EZFdydLSLJC5iutDBUr53hgcU9UWN4dPxpEdDEvWpjrzj0wz04cddgGLWPEPtk3Oni\n1BapBTiIRVbExyUhezesFWWUjElFOP2vt7OtCfrdD9BX7If4s66e", LAST); return 0; }

JSE加密到PHP非对称加密

<div class="post-text" itemprop="text"> <p>I am trying to do an Asymmetric encryption from client to server with the client having the public key and the server the private.</p> <p>On the client side I am using JSEncrypt in javascript to encrypt using my public key. From there I use AJAX to send the encrypted data to my PHP script. I try to use <code>openssl_private_decrypt()</code> to decrypt the data, but it always returns false. I have tried telling it to expect different padding, even though I am sure it is PKCS1.</p> <p>Can someone please tell me what I am doing wrong?</p> <p>Here is all the relevant code:</p> <p>JAVASCRIPT:</p> <pre><code>function getpubkey(){ //Gets Public Key from server var xmlhttp = new XMLHttpRequest(); xmlhttp.onreadystatechange = function(){ if (this.readyState == 4 &amp;&amp; this.status == 200){ pubkey = this.responseText; } }; xmlhttp.open("POST", "PHP/ajax.php", false); xmlhttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded"); xmlhttp.send("do=getpub"); } function encryptdata(plaintext){ //Encrypts argument with Public Key var encrypt = new JSEncrypt(); encrypt.setPublicKey(pubkey); var encrypted = encrypt.encrypt(plaintext); return encrypted; } function login(){ //Sends login data to server and displays response on page getpubkey(); var encuser = encryptdata(document.getElementById('username').value); var encpass = encryptdata(document.getElementById('password').value); encuser = window.btoa(encuser); encpass = window.btoa(encpass); var xmlhttp = new XMLHttpRequest(); xmlhttp.onreadystatechange = function(){ if (this.readyState == 4 &amp;&amp; this.status == 200){ document.getElementById('maincontent').innerHTML = this.responseText; } }; xmlhttp.open("POST", "PHP/ajax.php", true); xmlhttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded"); xmlhttp.send("do=login&amp;param1="+encuser+"&amp;param2="+encpass); } </code></pre> <p>PHP (ajax.php):</p> <pre><code>if (!isset($_POST['do'])){ header("Location: ../index.php"); die(); } $do = $_POST['do']; if(isset($_POST['param1'])){ $param1 = $_POST['param1']; } if(isset($_POST['param2'])){ $param2 = $_POST['param2']; } $allow = 1; require("../KEYS/priv.php"); //Contains $priv which holds the private key if(openssl_private_decrypt(base64_decode($param1), $username, $priv, OPENSSL_PKCS1_PADDING)){ $return = $username; } else{ $return = "Decrypt Failed"; } if(isset($return)){ echo $return; } </code></pre> <p>priv.php:</p> <pre><code>&lt;?php if (!isset($allow)){ header("Location: ../index.php"); die(); } $priv = "-----BEGIN RSA PRIVATE KEY----- MIIEpAIBAAKCAQEAtzAVRzbQWzZi7wjqA/0magqlWQfKJhrfnCuytqwNR0rMKk+h Gx1c+1YaPsN0ZMdBVWyBWJYWzlCjWOKx1vnYgBb3MPXn1QvGkrv+WtXX3VQRsPjW tjaAqLYdjP/m64+pVDr54mt4RzNxi1dQ/PRD6TnjdVhLMpftPv1ELTWCl2tyzSTP 3G2LY4dDVstuhzO8+3R9PaIle7CnVZ/2qSSbHVN4Juzn3zSemjRykoZLoV3VLsHU 2Cb3m21tCMWB7BFlChd2cYiXeZamJHaypvK+6ZjQgEN7IYeb4ALOIx50WntOC67S 29qpG1MZ84TF/OLtVTFWFM+buSCvYpPMMSzSqQIDAQABAoIBAFy/7aYW7Luh98mL O+E1JWP/a+R9+y374UfTIDM5PafhCSpLEwkFfvSKjdNFZwM3l67Gt17A718amPoC HYT5D1MbTaDugKjvw2S75nbbWuZnEGYIN74eLlo9iwy+7I5MOLG7ApZPT6DNPSoN 1aWdj1zgwHfDcp91KNwBo6k4NJyxIK0xVSvdcnecpndQ611BUicz3mfMUoa+axDg GROs7IQvEyYMru0E2/lZdURJS1uNg+T3kyBs3zINibwNEFsf8V3e90haWlMjc5MW nNFTo4KWPoHZCWIsyMPZfinjEk/5+DKdFFIQAY7YWUhjnu23Qc4oRu4hb+vTFXQt 2FCp2nkCgYEA58QY4zeqhkIPVEWFs/lZDcd/GdwL+/0Dmmm6lUvTQpUG/u0njY9n JOTyvNc+vH3U9FWm3yPKX+HbARC4CMV/x9jU8QIIa0ARcETjh6BQGaEkIReDeXhq X3kwcdSuhqK9nrmp1ocGeIYFGZPrrofJI+1gODCMtdgqt9pbN+8UJxsCgYEAylel rpsFSiAx0bBcZ9kCPHYHpR2kdpcv4iOunpPJLJQ+p0KhCdDA1J7LftlNVS1Pg34W aD3nundbH0D/8B1qnlXvPIDBGOEbnfnKAdf0ti1cznQoBsIzwa56Fcu8MqK9DQXJ AHkmEIdHjPtXjM7fEEuz4kRLjcdirV2T5+KZNYsCgYBCioqaseDDqzO7fjpk8bIf wqc7RXIrZvkh3Dk1pA+DjkXz6yLwAbwbW6BVl3brpzT88Zp3dk8kODQomiQ8YHfP aPG6QFsqb7qSATVSOzTEJv+4gIe+2FOyFZlTFT0GarMGX0fjz+CLue686TtBYLrf FcgKWeYMT4P0RTzrUjj3AQKBgQCf/Rtg6uwMx1X88dCuv/S3r6+ty7ldl39h9Eq+ 0iWwHOtJPzKr2yaNN525h8JQxgnn84tuEvymAHfJR5DW37uMxG/sS/XiYSOADqC+ Qm4YmdeW2ltHtMhNrVKU50nAU9LdeCSNPj1ttjlJ7PY1vOC9Ns5d6xg+W1fXsnUf VZlErwKBgQCLWkrCqsxjKvWBQIE7DgtF5e2eFuuwIWwPODn3uNR7DCrpy7PyBVAd TWrKw+Uu0FmVgEiMWlIWjgse58/ZaBHXzqU5ScsibshJU/tacG+M1uqxAcyr+p03 qkSuqbJ6OqUnOWwATrEFLxt5BVnwLlizp9sPggEIJ6mMdOW9J6wONA== -----END RSA PRIVATE KEY-----"; ?&gt; </code></pre> <p>My Keys:</p> <p>Public:</p> <blockquote> <p>-----BEGIN PUBLIC KEY----- MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtzAVRzbQWzZi7wjqA/0m agqlWQfKJhrfnCuytqwNR0rMKk+hGx1c+1YaPsN0ZMdBVWyBWJYWzlCjWOKx1vnY gBb3MPXn1QvGkrv+WtXX3VQRsPjWtjaAqLYdjP/m64+pVDr54mt4RzNxi1dQ/PRD 6TnjdVhLMpftPv1ELTWCl2tyzSTP3G2LY4dDVstuhzO8+3R9PaIle7CnVZ/2qSSb HVN4Juzn3zSemjRykoZLoV3VLsHU2Cb3m21tCMWB7BFlChd2cYiXeZamJHaypvK+ 6ZjQgEN7IYeb4ALOIx50WntOC67S29qpG1MZ84TF/OLtVTFWFM+buSCvYpPMMSzS qQIDAQAB -----END PUBLIC KEY-----</p> </blockquote> <p>Private:</p> <blockquote> <p>-----BEGIN RSA PRIVATE KEY----- MIIEpAIBAAKCAQEAtzAVRzbQWzZi7wjqA/0magqlWQfKJhrfnCuytqwNR0rMKk+h Gx1c+1YaPsN0ZMdBVWyBWJYWzlCjWOKx1vnYgBb3MPXn1QvGkrv+WtXX3VQRsPjW tjaAqLYdjP/m64+pVDr54mt4RzNxi1dQ/PRD6TnjdVhLMpftPv1ELTWCl2tyzSTP 3G2LY4dDVstuhzO8+3R9PaIle7CnVZ/2qSSbHVN4Juzn3zSemjRykoZLoV3VLsHU 2Cb3m21tCMWB7BFlChd2cYiXeZamJHaypvK+6ZjQgEN7IYeb4ALOIx50WntOC67S 29qpG1MZ84TF/OLtVTFWFM+buSCvYpPMMSzSqQIDAQABAoIBAFy/7aYW7Luh98mL O+E1JWP/a+R9+y374UfTIDM5PafhCSpLEwkFfvSKjdNFZwM3l67Gt17A718amPoC HYT5D1MbTaDugKjvw2S75nbbWuZnEGYIN74eLlo9iwy+7I5MOLG7ApZPT6DNPSoN 1aWdj1zgwHfDcp91KNwBo6k4NJyxIK0xVSvdcnecpndQ611BUicz3mfMUoa+axDg GROs7IQvEyYMru0E2/lZdURJS1uNg+T3kyBs3zINibwNEFsf8V3e90haWlMjc5MW nNFTo4KWPoHZCWIsyMPZfinjEk/5+DKdFFIQAY7YWUhjnu23Qc4oRu4hb+vTFXQt 2FCp2nkCgYEA58QY4zeqhkIPVEWFs/lZDcd/GdwL+/0Dmmm6lUvTQpUG/u0njY9n JOTyvNc+vH3U9FWm3yPKX+HbARC4CMV/x9jU8QIIa0ARcETjh6BQGaEkIReDeXhq X3kwcdSuhqK9nrmp1ocGeIYFGZPrrofJI+1gODCMtdgqt9pbN+8UJxsCgYEAylel rpsFSiAx0bBcZ9kCPHYHpR2kdpcv4iOunpPJLJQ+p0KhCdDA1J7LftlNVS1Pg34W aD3nundbH0D/8B1qnlXvPIDBGOEbnfnKAdf0ti1cznQoBsIzwa56Fcu8MqK9DQXJ AHkmEIdHjPtXjM7fEEuz4kRLjcdirV2T5+KZNYsCgYBCioqaseDDqzO7fjpk8bIf wqc7RXIrZvkh3Dk1pA+DjkXz6yLwAbwbW6BVl3brpzT88Zp3dk8kODQomiQ8YHfP aPG6QFsqb7qSATVSOzTEJv+4gIe+2FOyFZlTFT0GarMGX0fjz+CLue686TtBYLrf FcgKWeYMT4P0RTzrUjj3AQKBgQCf/Rtg6uwMx1X88dCuv/S3r6+ty7ldl39h9Eq+ 0iWwHOtJPzKr2yaNN525h8JQxgnn84tuEvymAHfJR5DW37uMxG/sS/XiYSOADqC+ Qm4YmdeW2ltHtMhNrVKU50nAU9LdeCSNPj1ttjlJ7PY1vOC9Ns5d6xg+W1fXsnUf VZlErwKBgQCLWkrCqsxjKvWBQIE7DgtF5e2eFuuwIWwPODn3uNR7DCrpy7PyBVAd TWrKw+Uu0FmVgEiMWlIWjgse58/ZaBHXzqU5ScsibshJU/tacG+M1uqxAcyr+p03 qkSuqbJ6OqUnOWwATrEFLxt5BVnwLlizp9sPggEIJ6mMdOW9J6wONA== -----END RSA PRIVATE KEY-----</p> </blockquote> </div>

Javascript DES加密/ PHP解密

<div class="post-text" itemprop="text"> <p>I have a PHP endpoint that is used by several websites. While POSTing data to the endpoint the sites use encrypted headers to identify various information. The sites use the standard PHP <code>mcrypt_ecb</code> function, and the endpoint decrypts the variables like this:</p> <pre><code>$var = trim(mcrypt_ecb(MCRYPT_DES, $key, base64_decode($input), MCRYPT_DECRYPT))); </code></pre> <p>I don't really have much chance of altering the PHP endpoint, although I could conceivably make another endpoint if <code>mcrypt_ecb</code> doesn't play nicely. </p> <p>I now have a PhoneGap app, which also needs to send the encrypted headers. Phonegap can only really use javascript to POST to a remote server. I've looked at the Google <a href="https://code.google.com/p/crypto-js/" rel="nofollow noreferrer">CryptoJS</a> to try to acheive this, along side a base64 library. Note that the key is the same as the $key var above. </p> <pre><code>var encrypted = CryptoJS.DES.encrypt(user.email, key).toString(); var base64 = base64.encode(encrypted); </code></pre> <p>The problem is that the encrypted string (and I have tried without the base64 encode/decode) when passed through <code>mcrypt_ecb</code> is garbage. Apparently there are different methods of triple DES encryption? </p> <p>How would I create a <code>mcrypt_ecb</code> compatible encrypted string in JavaScript?</p> </div>

如何解密用JSEncrypt加密的PHP中的数据

<div class="post-text" itemprop="text"> <p>I'm trying to secure communication between a JS front-end and a PHP backend by using symmetric and asymmetric encryption. I'm creating a symmetric key on the client and encrypting it with the server's public key with JSEncrypt and sending it to the server for future use. However, I'm getting stuck when I get the data on the server side. openssl_open requires an envelope to decrypt the symmetric key and I'm not even positive what data is supposed to be in the envelope. I was under the impression that the envelope is the symmetric key that was encrypted with the public key, but using that has not worked. I've also tried different combinations of decoding as I've read that JSEncrypt encodes the message in base 64 and the key in hex, but those attempts are fruitless as well.</p> <p><b>JS encryption code:</b></p> <pre><code>let pub = "-----BEGIN PUBLIC KEY-----...-----END PUBLIC KEY-----"; //I have a function that just creates a random string of characters let key = generateKey(32); let aesData = CryptoJS.AES.encrypt( "test", key ); let symKey = aesData.key + ":::" + aesData.iv; let msg = aesData.toString(); let rsa = new JSEncrypt(); rsa.setPublicKey( pub ); let cryptKey = rsa.encrypt( symKey ); //I'm passing the data through a hidden form field $("#key").val(cryptKey + ":::" + msg); </code></pre> <p><b>PHP decryption code:</b></p> <pre><code>$key = openssl_get_privatekey( file_get_contents( $_SERVER["PRIV_KEY"]) ); $encryptedKey = explode( ":::", $msg )[0]; $realMsg = base64_decode(explode( ":::", $msg )[1]); openssl_open($realMsg, $decrypted, $encryptedKey, $key); return $decrypted; </code></pre> <p>The code above outputs nothing because the openssl_open call fails (returns false). When I base 64 decode the $encryptedKey variable, I get:</p> <pre><code>�vEi���pΕ��d_���@����욲JE�� </code></pre> <p>but the symmetric key changes every time, so the output changes every time as well. Like I said, I've tried different encoding combinations, but they all return similar nonsense. As the JS code shows, I've encrypted the message "test".</p> <p>I've never implemented encryption before, so I might be way off the mark here, but after staring at this code for days, any insight would be appreciated.</p> <p>Edit: I'm having problems decrypting with my private key in PHP, not with the symmetric key</p> </div>

对于较小的消息,哪种对称加密算法最快?

<div class="post-text" itemprop="text"> <p>I am interested in help selecting one of the common symmetric encryption algorithms (Twofish, AES, etc) based on performance criteria (fastest encryption/decryption). We are currently leaning toward AES, but since the communications we are sending back and forth don't really need that level of encryption, a less secure algorithm would be acceptable for a performance gain.</p> <p>We will be using the selected algorithm to encrypt/decrypt messages (should be no longer than 200 characters) that are being sent between the client and server (Javascript client and PHP on the server) <strike>over HTTPS</strike>. The speed of the algorithm is important because the encryption/decryption process will need to keep up with messages as they arrive/depart via sockets on the server.</p> <p>I have found one <a href="http://www.cryptopp.com/benchmarks.html" rel="nofollow noreferrer">site</a> that has benchmarks for encryption and I plan to do my own testing, but I was hoping for input from SO on selecting an encryption for speed. Thanks in advance for any help.</p> <p>EDIT: Please note that the message will <strong>not</strong> be sent over HTTPS, they will be sent over HTTP</p> </div>

在JavaScript中加密字符串并使用RSA技术在PHP中解密

<div class="post-text" itemprop="text"> <p>I am trying to encrypt some text in JavaScript and then send it to PHP (etc: with Ajax) to decrypt it there and save it (etc: In MySQL).</p> <p>Here is my code so far:</p> <p><strong>In JavaScript:</strong></p> <p>I am using this library for the encryption: <a href="http://travistidwell.com/blog/2013/02/15/a-better-library-for-javascript-asymmetrical-rsa-encryption/" rel="nofollow">http://travistidwell.com/blog/2013/02/15/a-better-library-for-javascript-asymmetrical-rsa-encryption/</a></p> <pre><code>function ConvertToURL(data) { // Converts data to URL friendly form // etc: Replaces '+', '/', '=' with 'plus', 'slash', 'equal' }; function AjaxOrder(data) { // Sends data in PHP with Ajax } var publicKey = '-----BEGIN PUBLIC KEY----- MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDlOJu6TyygqxfWT7eLtGDwajtN FOb9I5XRb6khyfD1Yt3YiCgQWMNW649887VGJiGr/L5i2osbl8C9+WJTeucF+S76 xFxdU6jE0NQ+Z+zEdhUTooNRaY5nZiu5PgDB0ED/ZKBUSLKL7eibMxZtMlUDHjm4 gwQco1KRMDSmXSMkDwIDAQAB -----END PUBLIC KEY-----'; var encrypt = new JSEncrypt(); encrypt.setPublicKey(publicKey); var encrypted = encrypt.encrypt('Text to send.'); *// And now I am sending the encrypted text with some Ajax function* AjaxOrder(ConvertToURL(encrypted)); </code></pre> <p><strong>In PHP:</strong></p> <pre><code>$dataPost = $_POST('dt'); function ConvertFromURL($data) { // Converts $data to original form // etc: Replaces 'plus', 'slash', 'equal' with '+', '/', '=' } function ReturnData($data) { // Sends $data back in JavaScript as an answer to Ajax } $privateKey = '-----BEGIN RSA PRIVATE KEY----- MIICXQIBAAKBgQDlOJu6TyygqxfWT7eLtGDwajtNFOb9I5XRb6khyfD1Yt3YiCgQ WMNW649887VGJiGr/L5i2osbl8C9+WJTeucF+S76xFxdU6jE0NQ+Z+zEdhUTooNR aY5nZiu5PgDB0ED/ZKBUSLKL7eibMxZtMlUDHjm4gwQco1KRMDSmXSMkDwIDAQAB AoGAfY9LpnuWK5Bs50UVep5c93SJdUi82u7yMx4iHFMc/Z2hfenfYEzu+57fI4fv xTQ//5DbzRR/XKb8ulNv6+CHyPF31xk7YOBfkGI8qjLoq06V+FyBfDSwL8KbLyeH m7KUZnLNQbk8yGLzB3iYKkRHlmUanQGaNMIJziWOkN+N9dECQQD0ONYRNZeuM8zd 8XJTSdcIX4a3gy3GGCJxOzv16XHxD03GW6UNLmfPwenKu+cdrQeaqEixrCejXdAF z/7+BSMpAkEA8EaSOeP5Xr3ZrbiKzi6TGMwHMvC7HdJxaBJbVRfApFrE0/mPwmP5 rN7QwjrMY+0+AbXcm8mRQyQ1+IGEembsdwJBAN6az8Rv7QnD/YBvi52POIlRSSIM V7SwWvSK4WSMnGb1ZBbhgdg57DXaspcwHsFV7hByQ5BvMtIduHcT14ECfcECQATe aTgjFnqE/lQ22Rk0eGaYO80cc643BXVGafNfd9fcvwBMnk0iGX0XRsOozVt5Azil psLBYuApa66NcVHJpCECQQDTjI2AQhFc1yRnCU/YgDnSpJVm1nASoRUnU8Jfm3Oz uku7JUXcVpt08DFSceCEX9unCuMcT72rAQlLpdZir876 -----END RSA PRIVATE KEY-----'; openssl_private_decrypt(ConvertFromURL($dataPost), $decryptedWord, $privateKey); ReturnData(base64_encode($decryptedWord)); </code></pre> <p>Now the answer from PHP is empty every time. Any ideas to make this work?</p> <p>Thank you for your time!</p> </div>

如何加密文件下载路径

<div class="post-text" itemprop="text"> <p>I want to allow users to download pdf file from one of my folder. Is there any way i can hide the download path from the user when user "mouseover" to the file download icon ?</p> <p>Suggest any method using PHP or javascript.</p> </div>

JOSE_JS JWE用javascript加密的数据不会被go解密

<div class="post-text" itemprop="text"> <p>Server side code for generating public key is:</p> <pre><code>privateKey, err := rsa.GenerateKey(rand.Reader, 2048) if err != nil { return nil } publicKey := &amp;privateKey.PublicKey publicKeyBytes, err := json.Marshal(publicKey) privateKeyBytes,err:=json.Marshal(privateKey) </code></pre> <p>The private key is a singleton stored in memory at server side and the public key is another singleton which is being returned to the clients requesting it.</p> <p>Then the client which is a web browser here encrypts the data by server's public key:</p> <pre><code>cookieParts=document.cookie.split('pk=') if(cookieParts.length==1) { serverPublicKey= unescape(cookieParts[0].split(';')[0].toString()) } else { serverPublicKey= unescape(cookieParts[1].split(';')[0].toString()) } serverPublicKey =serverPublicKey.replace(/([\[

【求助】 C#POST登陆QQ空间的【思路与解决方法】的疑问

我的思路是: 1、加载url 尝试获取Html 2、分析Html 获取验证码参数 3、提交验证码参数和密码 问题:分析时发现他所用的方法是Get,而我所用的方法是POST 然后我发现,参数是存在Cookie里面的。 那么POST提交我的账号和密码的时候,我有这些疑问: 1、建立的通道是不是“i.qq.com”? 2、如果【1】成立的话,那么我就有以下的疑问: >>>一、因为获取验证码参数的地址和i.qq.com不一样,所以我认为建立的通道是不一样的,如 果这样的话,在通道“i.qq.com”里面提交参数会不会过时? >>>二、提交参数的时候,是不是写在从“i.qq.com”返回的流里面?是不是只要写入流,就代 表参数已经提交? 并且写入格式和url里面格式差不多?或者说跟Cookie里面的差不多? 3、如果【2】没有问题,那么我会获取返回的数据。可是我在fiddler里面,看到【①是否验证码 →→②登陆→→③登陆成功 】 总共需要三步!,而我们这里【①是否验证码→→②POST提交 参数获取返回数据】才两步!从思路上面,我发现我所需要的申请比fiddler上面的申请少了一 步!这是不是代表思路有问题? 4、从fiddler里面获取url,我看到密码是经过加密计算的。这个加密计算可以从哪里知道?听说 是JS,这不是QQ空间线上某一个“*.js”文件?而我们需要的算法就在这个文件里面?可是如 果把这个JS下载下来,我们又怎么去运用呢? ## 【重要】:** ## 1、从HttpWebquset上去实现 ## 2、请从代码细节上解释(可参考我提出的疑问。)**

Node.js aes128加密/解密端口到PHP

<div class="post-text" itemprop="text"> <p>So in node.js I have an encryption scheme using aes128 and without passing IV. An example being the following</p> <pre><code> var cipher = require('crypto').createCipher('aes128','password'); cipher.update('test','utf8','base64')+cipher.final('base64'); </code></pre> <p>which outputs <code>CjZ3R/tW8jiyLvg+/TE6bA==</code>. The issue is that I can't reproduce this in PHP even though I've tried a bunch of implementations and variations. </p> <p>When I then try running this through openssl, I run the following:</p> <pre><code> echo "test" | openssl enc -e -aes128 -a -k password </code></pre> <p>which outputs U2FsdGVkX19Ccfv3SWvuzuZWeov9GDuwx1RMK2HWa/s= which also doesn't match either. I have also tried using the <code>-md</code> with all possible options and that didn't match either (they aren't even the same block size). When running in PHP I've tried hashing the key/not hashing, using padding, using the computed padding on the input where the padded character is the number of padded characters needed (saw something online saying this is what nodejs uses). And I have tried setting the IV to the password and also to null bytes but still I can't get a match.</p> <p>Any suggestions/ideas here?</p> <p>edit:</p> <p>So I just discovered the function openssl_encrypt in php and tried the same test through that and once again got a completely different output (this one now takes exactly the same args as node.js and supposedly they both use openssl):</p> <pre><code> openssl_encrypt ( "test" , 'aes128' , "password") </code></pre> <p>which outputs (already in base64) <code>JleA91MvYHdEdnj3KYHmog==</code> which is at least now matching in block count but still not the same ciphertext.</p> <p>I should also mention that yes passing an IV to nodejs is an option and might resolve the discrepancy but this scheme in php will be replacing the old one in nodejs which is already live so it must be able to decrypt already created ciphertexts </p> </div>

使用javascript / php进行简单的数据加密

<div class="post-text" itemprop="text"> <p>I'm forwarding my visitors from a checkout page to <code>/store/order/view/?id=735</code>, but I don't want them to be able to view just anyone's order, so I need to encrypt the 735. What's the best way to do this so Javascript can encrypt it and PHP/MySQL can decrypt it?</p> <p>What about instead of ?id=735 I do <code>?key=735-[TIMESTAMP_ORDER_WAS_PLACED]</code>, do you think that's secure enough?</p> </div>

在JavaScript中使用CryptoJS和AES加密进行AES加密的不同输出

<div class="post-text" itemprop="text"> <p><a href="https://github.com/jackyrx/AES.Interchange-Cross-Platform-" rel="nofollow">Here is my solution to PHP, Ruby &amp; Swift.</a></p> <p>I faced issues when using CryptoJS on my test.</p> <p>my code is like this</p> <pre><code>var data = "Hello World"; var key = "57119C07F45756AF6E81E662BE2CCE62"; var iv = "GsCJsm/uyxG7rBTgBMrSiA=="; var encryptedData = CryptoJS.AES.encrypt(data, CryptoJS.enc.Hex.parse(key), { mode: CryptoJS.mode.CBC, padding: CryptoJS.pad.Pkcs7, iv: CryptoJS.enc.Base64.parse(iv) } ); console.log("encryptedData: " + encryptedData); // var crypttext = encryptedData.toString(); var crypttext = "k4wX2Q9GHU4eU8Tf9pDu+w=="; var decryptedData = CryptoJS.AES.decrypt({ ciphertext: CryptoJS.enc.Base64.parse(crypttext) }, CryptoJS.enc.Hex.parse(key), { mode: CryptoJS.mode.CBC, padding: CryptoJS.pad.Pkcs7, iv: CryptoJS.enc.Base64.parse(iv) }); console.log("decryptedData: " + decryptedData); </code></pre> <p>console.log result</p> <p><code>encryptedData: 97SwKfGtNARERiSYyZxdAQ==</code></p> <p><code>decryptedData:</code></p> </div>

怎样在request中拿到参数???

情况是这样的,从a页面发送了一个请求(request)到b,现在想在b页面中拿到a的这个请求(http://xxx?xx=xx&xx=xx&......),只知道用request.getRequestURL()可以拿到“?”前面的http://xxx,想拿到后面的xx=xx&xx=xx&......,要怎么拿呢? request.getParameter(“xx”)这个可以拿到xx的值,可是不是所有的参数都知道,想动态拿到参数key和value,请问该怎么拿呢?

在中国程序员是青春饭吗?

今年,我也32了 ,为了不给大家误导,咨询了猎头、圈内好友,以及年过35岁的几位老程序员……舍了老脸去揭人家伤疤……希望能给大家以帮助,记得帮我点赞哦。 目录: 你以为的人生 一次又一次的伤害 猎头界的真相 如何应对互联网行业的「中年危机」 一、你以为的人生 刚入行时,拿着傲人的工资,想着好好干,以为我们的人生是这样的: 等真到了那一天,你会发现,你的人生很可能是这样的: ...

程序员请照顾好自己,周末病魔差点一套带走我。

程序员在一个周末的时间,得了重病,差点当场去世,还好及时挽救回来了。

我以为我学懂了数据结构,直到看了这个导图才发现,我错了

数据结构与算法思维导图

String s = new String(" a ") 到底产生几个对象?

老生常谈的一个梗,到2020了还在争论,你们一天天的,哎哎哎,我不是针对你一个,我是说在座的各位都是人才! 上图红色的这3个箭头,对于通过new产生一个字符串(”宜春”)时,会先去常量池中查找是否已经有了”宜春”对象,如果没有则在常量池中创建一个此字符串对象,然后堆中再创建一个常量池中此”宜春”对象的拷贝对象。 也就是说准确答案是产生了一个或两个对象,如果常量池中原来没有 ”宜春” ,就是两个。...

技术大佬:我去,你写的 switch 语句也太老土了吧

昨天早上通过远程的方式 review 了两名新来同事的代码,大部分代码都写得很漂亮,严谨的同时注释也很到位,这令我非常满意。但当我看到他们当中有一个人写的 switch 语句时,还是忍不住破口大骂:“我擦,小王,你丫写的 switch 语句也太老土了吧!” 来看看小王写的代码吧,看完不要骂我装逼啊。 private static String createPlayer(PlayerTypes p...

Linux面试题(2020最新版)

文章目录Linux 概述什么是LinuxUnix和Linux有什么区别?什么是 Linux 内核?Linux的基本组件是什么?Linux 的体系结构BASH和DOS之间的基本区别是什么?Linux 开机启动过程?Linux系统缺省的运行级别?Linux 使用的进程间通信方式?Linux 有哪些系统日志文件?Linux系统安装多个桌面环境有帮助吗?什么是交换空间?什么是root帐户什么是LILO?什...

将一个接口响应时间从2s优化到 200ms以内的一个案例

一、背景 在开发联调阶段发现一个接口的响应时间特别长,经常超时,囧… 本文讲讲是如何定位到性能瓶颈以及修改的思路,将该接口从 2 s 左右优化到 200ms 以内 。 二、步骤 2.1 定位 定位性能瓶颈有两个思路,一个是通过工具去监控,一个是通过经验去猜想。 2.1.1 工具监控 就工具而言,推荐使用 arthas ,用到的是 trace 命令 具体安装步骤很简单,大家自行研究。 我的使用步骤是...

学历低,无法胜任工作,大佬告诉你应该怎么做

微信上收到一位读者小涛的留言,大致的意思是自己只有高中学历,经过培训后找到了一份工作,但很难胜任,考虑要不要辞职找一份他能力可以胜任的实习工作。下面是他留言的一部分内容: 二哥,我是 2016 年高中毕业的,考上了大学但没去成,主要是因为当时家里经济条件不太允许。 打工了三年后想学一门技术,就去培训了。培训的学校比较垃圾,现在非常后悔没去正规一点的机构培训。 去年 11 月份来北京找到了一份工...

JVM内存结构和Java内存模型别再傻傻分不清了

JVM内存结构和Java内存模型都是面试的热点问题,名字看感觉都差不多,网上有些博客也都把这两个概念混着用,实际上他们之间差别还是挺大的。 通俗点说,JVM内存结构是与JVM的内部存储结构相关,而Java内存模型是与多线程编程相关,本文针对这两个总是被混用的概念展开讲解。 JVM内存结构 JVM构成 说到JVM内存结构,就不会只是说内存结构的5个分区,而是会延展到整个JVM相关的问题,所以先了解下

和黑客斗争的 6 天!

互联网公司工作,很难避免不和黑客们打交道,我呆过的两家互联网公司,几乎每月每天每分钟都有黑客在公司网站上扫描。有的是寻找 Sql 注入的缺口,有的是寻找线上服务器可能存在的漏洞,大部分都...

Google 与微软的浏览器之争

浏览器再现“神仙打架”。整理 | 屠敏头图 | CSDN 下载自东方 IC出品 | CSDN(ID:CSDNnews)从 IE 到 Chrome,再从 Chrome 到 Edge,微软与...

讲一个程序员如何副业月赚三万的真实故事

loonggg读完需要3分钟速读仅需 1 分钟大家好,我是你们的校长。我之前讲过,这年头,只要肯动脑,肯行动,程序员凭借自己的技术,赚钱的方式还是有很多种的。仅仅靠在公司出卖自己的劳动时...

上班一个月,后悔当初着急入职的选择了

最近有个老铁,告诉我说,上班一个月,后悔当初着急入职现在公司了。他之前在美图做手机研发,今年美图那边今年也有一波组织优化调整,他是其中一个,在协商离职后,当时捉急找工作上班,因为有房贷供着,不能没有收入来源。所以匆忙选了一家公司,实际上是一个大型外包公司,主要派遣给其他手机厂商做外包项目。**当时承诺待遇还不错,所以就立马入职去上班了。但是后面入职后,发现薪酬待遇这块并不是HR所说那样,那个HR自...

女程序员,为什么比男程序员少???

昨天看到一档综艺节目,讨论了两个话题:(1)中国学生的数学成绩,平均下来看,会比国外好?为什么?(2)男生的数学成绩,平均下来看,会比女生好?为什么?同时,我又联想到了一个技术圈经常讨...

搜狗输入法也在挑战国人的智商!

故事总是一个接着一个到来...上周写完《鲁大师已经彻底沦为一款垃圾流氓软件!》这篇文章之后,鲁大师的市场工作人员就找到了我,希望把这篇文章删除掉。经过一番沟通我先把这篇文章从公号中删除了...

85后蒋凡:28岁实现财务自由、34岁成为阿里万亿电商帝国双掌门,他的人生底层逻辑是什么?...

蒋凡是何许人也? 2017年12月27日,在入职4年时间里,蒋凡开挂般坐上了淘宝总裁位置。 为此,时任阿里CEO张勇在任命书中力赞: 蒋凡加入阿里,始终保持创业者的冲劲,有敏锐的...

总结了 150 余个神奇网站,你不来瞅瞅吗?

原博客再更新,可能就没了,之后将持续更新本篇博客。

副业收入是我做程序媛的3倍,工作外的B面人生是怎样的?

提到“程序员”,多数人脑海里首先想到的大约是:为人木讷、薪水超高、工作枯燥…… 然而,当离开工作岗位,撕去层层标签,脱下“程序员”这身外套,有的人生动又有趣,马上展现出了完全不同的A/B面人生! 不论是简单的爱好,还是正经的副业,他们都干得同样出色。偶尔,还能和程序员的特质结合,产生奇妙的“化学反应”。 @Charlotte:平日素颜示人,周末美妆博主 大家都以为程序媛也个个不修边幅,但我们也许...

MySQL数据库面试题(2020最新版)

文章目录数据库基础知识为什么要使用数据库什么是SQL?什么是MySQL?数据库三大范式是什么mysql有关权限的表都有哪几个MySQL的binlog有有几种录入格式?分别有什么区别?数据类型mysql有哪些数据类型引擎MySQL存储引擎MyISAM与InnoDB区别MyISAM索引与InnoDB索引的区别?InnoDB引擎的4大特性存储引擎选择索引什么是索引?索引有哪些优缺点?索引使用场景(重点)...

如果你是老板,你会不会踢了这样的员工?

有个好朋友ZS,是技术总监,昨天问我:“有一个老下属,跟了我很多年,做事勤勤恳恳,主动性也很好。但随着公司的发展,他的进步速度,跟不上团队的步伐了,有点...

我入职阿里后,才知道原来简历这么写

私下里,有不少读者问我:“二哥,如何才能写出一份专业的技术简历呢?我总感觉自己写的简历太烂了,所以投了无数份,都石沉大海了。”说实话,我自己好多年没有写过简历了,但我认识的一个同行,他在阿里,给我说了一些他当年写简历的方法论,我感觉太牛逼了,实在是忍不住,就分享了出来,希望能够帮助到你。 01、简历的本质 作为简历的撰写者,你必须要搞清楚一点,简历的本质是什么,它就是为了来销售你的价值主张的。往深...

离职半年了,老东家又发 offer,回不回?

有小伙伴问松哥这个问题,他在上海某公司,在离职了几个月后,前公司的领导联系到他,希望他能够返聘回去,他很纠结要不要回去? 俗话说好马不吃回头草,但是这个小伙伴既然感到纠结了,我觉得至少说明了两个问题:1.曾经的公司还不错;2.现在的日子也不是很如意。否则应该就不会纠结了。 老实说,松哥之前也有过类似的经历,今天就来和小伙伴们聊聊回头草到底吃不吃。 首先一个基本观点,就是离职了也没必要和老东家弄的苦...

男生更看重女生的身材脸蛋,还是思想?

往往,我们看不进去大段大段的逻辑。深刻的哲理,往往短而精悍,一阵见血。问:产品经理挺漂亮的,有点心动,但不知道合不合得来。男生更看重女生的身材脸蛋,还是...

什么时候跳槽,为什么离职,你想好了么?

都是出来打工的,多为自己着想

程序员为什么千万不要瞎努力?

本文作者用对比非常鲜明的两个开发团队的故事,讲解了敏捷开发之道 —— 如果你的团队缺乏统一标准的环境,那么即使勤劳努力,不仅会极其耗时而且成果甚微,使用...

为什么程序员做外包会被瞧不起?

二哥,有个事想询问下您的意见,您觉得应届生值得去外包吗?公司虽然挺大的,中xx,但待遇感觉挺低,马上要报到,挺纠结的。

当HR压你价,说你只值7K,你该怎么回答?

当HR压你价,说你只值7K时,你可以流畅地回答,记住,是流畅,不能犹豫。 礼貌地说:“7K是吗?了解了。嗯~其实我对贵司的面试官印象很好。只不过,现在我的手头上已经有一份11K的offer。来面试,主要也是自己对贵司挺有兴趣的,所以过来看看……”(未完) 这段话主要是陪HR互诈的同时,从公司兴趣,公司职员印象上,都给予对方正面的肯定,既能提升HR的好感度,又能让谈判气氛融洽,为后面的发挥留足空间。...

面试:第十六章:Java中级开发(16k)

HashMap底层实现原理,红黑树,B+树,B树的结构原理 Spring的AOP和IOC是什么?它们常见的使用场景有哪些?Spring事务,事务的属性,传播行为,数据库隔离级别 Spring和SpringMVC,MyBatis以及SpringBoot的注解分别有哪些?SpringMVC的工作原理,SpringBoot框架的优点,MyBatis框架的优点 SpringCould组件有哪些,他们...

面试阿里p7,被按在地上摩擦,鬼知道我经历了什么?

面试阿里p7被问到的问题(当时我只知道第一个):@Conditional是做什么的?@Conditional多个条件是什么逻辑关系?条件判断在什么时候执...

终于懂了TCP和UDP协议区别

终于懂了TCP和UDP协议区别

立即提问
相关内容推荐