Skip to content

Commit

Permalink
fix frida errors from previous versions
Browse files Browse the repository at this point in the history
  • Loading branch information
NSEcho committed Jun 8, 2024
1 parent 32aaac5 commit c2ed104
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.20

require (
github.com/fatih/color v1.17.0
github.com/frida/frida-go v0.9.0
github.com/frida/frida-go v0.9.1
github.com/spf13/cobra v1.8.0
)

Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ github.com/frida/frida-go v0.7.2 h1:O3xR5K/wN8IrWpYbnxFUk6DFwue4t+udBmFfIwSkSl0=
github.com/frida/frida-go v0.7.2/go.mod h1:OyRIp58wuTcGggI6ztakXcHkTXrt5WfD9yi3pq6QyGw=
github.com/frida/frida-go v0.9.0 h1:+aUWHEpRD502FFQgUjqry9eRXt0F8OdWg8YcF7t5JAE=
github.com/frida/frida-go v0.9.0/go.mod h1:OyRIp58wuTcGggI6ztakXcHkTXrt5WfD9yi3pq6QyGw=
github.com/frida/frida-go v0.9.1 h1:F7H3s4ro1BKahD+FOYXrRH/95I717UVB4ZJQsAbJ+I8=
github.com/frida/frida-go v0.9.1/go.mod h1:OyRIp58wuTcGggI6ztakXcHkTXrt5WfD9yi3pq6QyGw=
github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I=
github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0=
Expand Down
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ var rootCmd = &cobra.Command{
for _, d := range devices {
if id != "" {
if d.ID() == id {
dev = d
dev = d.(*frida.Device)
break
}
} else if remote != "" {
Expand All @@ -104,7 +104,7 @@ var rootCmd = &cobra.Command{
logger.Errorf("%v", err)
return
}
dev = rdevice
dev = rdevice.(*frida.Device)
break
} else {
dev = frida.USBDevice()
Expand Down

0 comments on commit c2ed104

Please sign in to comment.