Proxmark3 developers community

Research, development and trades concerning the powerful Proxmark3 device.

Remember; sharing is caring. Bring something back to the community.


"Learn the tools of the trade the hard way." +Fravia

You are not logged in.

#1 2018-09-02 09:17:47

zyw
Contributor
Registered: 2018-09-02
Posts: 6

I hava a big problem about PM3 GUI

I wrote the code like this,but i cant get the number behind the "block data:"  I use vb.net .Please help.Source code is from IceMan's Proxmark Tool

        -     Case "button_break"
                item.Control = New Button
                item.Control.Text = item.Text
                ToolTip1.SetToolTip(item.Control, item.Tooltip)
                AddHandler item.Control.Click, AddressOf hi
                AddHandler item.Control.Click, AddressOf actionCommand
                'AddHandler hi(), AddressOf actionCommand
                'sector = hi()
                Call hi()
                item.Action &= ("hf mf nested 1" & sector)
                item.Control.Tag = item.Action
                item.Control.SetBounds(0, i * 35, 140, 20)
                item.Control.AutoSize = True


Public Sub hi()
    Dim sector_num() As String
    sector_num = Split(prompt.Text, vbCrLf)
    For i = 0 To UBound(sector_num)
        If Strings.Left(sector_num(i), 11) = "block data:" Then
            sector = Strings.Right(sector_num(i), Strings.Len(sector_num(i)) - 11)
        End If
    Next i
End Sub


The reault is:
proxmark3> hf mf nested 1

Usage:

all sectors: hf mf nested <key A/B> <key (12 hex symbols)> [t,d]

Last edited by zyw (2018-09-05 07:54:17)

Offline

#2 2018-09-02 09:47:39

zyw
Contributor
Registered: 2018-09-02
Posts: 6

Re: I hava a big problem about PM3 GUI

r

Last edited by zyw (2018-09-05 07:53:12)

Offline

Board footer

Powered by FluxBB