【VB】VB使用WebBrowser控件POST数据

admin 2021年4月3日19:00:34评论113 views字数 829阅读2分45秒阅读模式

    VB 使用 WebBrowser 控件 POST 数据,VB WebBrowser 控件 POST 数据,VB WebBrowser 控件 POST,VB WebBrowser POST 数据,VB WebBrowser POST,WebBrowser Post 数据,WebBrowser Post,VB WebBrowser,WebBrowser。

VB使用WebBrowser控件POST数据:

Private Sub Form_Load()
    ReDim aByte(0) As Byte
    PackBytes aByte(), "id=111&ps=222"
    WebBrowser1.Navigate "http://127.0.0.1:90/test.cgi", , , aByte, "Content-Type: application/x-www-form-urlencoded" + Chr(10) + Chr(13)
End Sub

Private Sub PackBytes(ByteArray() As Byte, ByVal PostData As String)
    ReDim ByteArray(iNewBytes)
    For i = 0 To iNewBytes
        ch = Mid(PostData, i + 1, 1)
        If ch = Space(1) Then
            ch = "+"
        End If
        Debug.Print ch, Asc(ch)
        ByteArray(i) = Asc(ch)
    Next
End Sub

文章来源于lcx.cc:【VB】VB使用WebBrowser控件POST数据

相关推荐: MS11-011 - Windows 内核权限提升漏洞

    Elevation of privileges under Windows Vista/7 (UAC Bypass) 0day,Bypassing UAC with User Privilege under Windows Vista/7 - Mirr…

  • 左青龙
  • 微信扫一扫
  • weinxin
  • 右白虎
  • 微信扫一扫
  • weinxin
admin
  • 本文由 发表于 2021年4月3日19:00:34
  • 转载请保留本文链接(CN-SEC中文网:感谢原作者辛苦付出):
                   【VB】VB使用WebBrowser控件POST数据https://cn-sec.com/archives/319556.html

发表评论

匿名网友 填写信息