import clr,sys
import System

clr.AddReferenceToFileAndPath("inVtero.net.dll")
clr.AddReferenceToFileAndPath("inVtero.net.ConsoleUtils.dll")
clr.AddReferenceToFileAndPath("inVteroUI.dll")

from inVtero.net import *
from inVtero.net.ConsoleUtils import *
from inVtero.net.Hashing import *
from inVteroUI import *
from System.IO import Directory, File, FileInfo, Path
from System import Environment, String, Console, ConsoleColor, Text, BitConverter
from System.Diagnostics import Stopwatch
from System.Text import Encoding
from System.Text.RegularExpressions import Regex, RegexOptions

import Analyze
import CloudLeech
import PoolScan
import Basic
import Capstone

from Analyze import *
from CloudLeech import *
from Capstone import *
from PoolScan import *
from Basic import *
from List import *

from sys import argv



# BELOW LIST IS USED BY "test()" method. 
MemList = [
#"C:\\temp\\Windows2012R2\\Windows Server 2012 R2-2635d0c9.vmem"
#"c:\\work\\R.RAW",
#"c:\\temp\\win2k8R264bit-Snapshot5.vmsn",
#"C:\\Users\\files\\VMs\\Windows Server 2008 x64 Standard\\Windows Server 2008 x64 Standard-ef068a0c.vmem",
#"c:\\Users\\files\\VMs\\Windows 7 x64 ULT\\Windows 7 x64 ULT-360b98e6.vmem",

"c:\\temp\\win10.64.xendump",
"c:\\temp\\2012R2.debug.MEMORY.DMP",
"c:\\temp\\server2016.xendump",
"c:\\temp\\2012R2.xendump",
"c:\\temp\\10 ENT 1607-Snapshot1.vmem",
"c:\\temp\\Windows Development-6d08357c.vmem",
"c:\\temp\\MEMORY.4g.DMP",
"c:\\Users\\files\\VMs\\Windows 1511\\Windows 1511-1b05a6a0.vmem",
"C:\\Users\\files\\VMs\\Windows 10 x64-PRO-1703\\Windows 10 x64-PRO-1703-40599dd1.vmem",

#"c:\\temp\memory.dmp"
#"d:\\users\\files\\vms\\Windows Server 2016\\Windows Server 2016-02431799.vmem",
#"d:\\users\\files\\vms\\RED-Windows 10 x64\\RED-Windows 10 x64-0f643564.vmem"
]

print "\nConfigured input files (for test() method); "
for line in range(0, MemList.Count):
    print '{0} {1}'.format(line, MemList[line])

print ""
print "# for example, configure Main.py in the application folder to setup easy access to VMWare, XEN or other dumps"
print "# then you can load a vtero instance as below"
print "vtero = QuickSetup(MemList[{0}])".format(MemList.Count-1)
print ""







