def tools_nuget():
 nuget_url = CONFIG['nuget']['url']
 mobsf_subdir_tools = CONFIG['MobSF']['tools']
 nuget_file_path = CONFIG['nuget']['file']
 nuget_file_local = open(os.path.join(mobsf_subdir_tools, nuget_file_path), 'wb')
 print '[*] Downloading nuget..'
 nuget_file = urlrequest.urlopen(nuget_url)
 print '[*] Saving to File {}'.format(nuget_file_path)
 nuget_file_local.write(bytes(nuget_file.read()))
 nuget_file_local.close()

def tools_nuget ( ) : nuget_url = CONFIG [ 'nuget' ] [ 'url' ] mobsf_subdir_tools = CONFIG [ 'MobSF' ] [ 'tools' ] nuget_file_path = CONFIG [ 'nuget' ] [ 'file' ] nuget_file_local = open ( os . path . join ( mobsf_subdir_tools , nuget_file_path ) , 'wb' ) print '[*] Downloading nuget..' nuget_file = urlrequest . urlopen ( nuget_url ) print '[*] Saving to File {}' . format ( nuget_file_path ) nuget_file_local . write ( bytes ( nuget_file . read ( ) ) ) nuget_file_local . close ( )
download nuget .