from django.conf.urls import url
from django.contrib import admin
from . import views

urlpatterns = [
    url(r'^tools/(?P<app_name>.*)/$', views.scan_tools, name='scan_tools'),
    url(r'^all-app/$', views.all_app, name='all_app'),    
    url(r'^all-tool/(?P<app_name>.*)/$', views.all_tool, name='all_tool'),    
    
    url(r'^tool/qark/(?P<app_name>.*)/$', views.tool_qark, name='tool_qark'),
    url(r'^tool/dc/(?P<app_name>.*)/$', views.tool_dc, name='tool_dc'),
    url(r'^tool/sniffgit/(?P<app_name>.*)/$', views.tool_sniffgit, name='tool_sniffgit'),
    url(r'^tool/andro/(?P<app_name>.*)/$', views.tool_andro, name='tool_andro'),
    url(r'^tool/dbparser/(?P<app_name>.*)/$', views.tool_dbparser, name='tool_dbparser'),
    url(r'^tool/dbparser-detail/(?P<app_name>.*)/(?P<id>.*)/(?P<table_name>.*)/$', 
        views.dbparser_detail, name='dbparser_detail'),

    #url(r'^$', views.scan, name='scan'),
    url(r'^tool/(?P<app_name>.*)/(?P<tool_index>.*)/$', views.scan_tool, name='scan_tool'),
    url(r'^connect/(?P<method>.*)/(?P<ip>.*)/$', views.connect, name='connect'),
    url(r'^one/(?P<app_name>.*)/$', views.scan_one, name='scan_one')
]

from django.conf.urls import url
from django.contrib import admin
from . import views

urlpatterns = [
    url(r'^tools/(?P<app_name>.*)/$', views.scan_tools, name='scan_tools'),
    url(r'^all-app/$', views.all_app, name='all_app'),    
    url(r'^all-tool/(?P<app_name>.*)/$', views.all_tool, name='all_tool'),    
    
    url(r'^tool/qark/(?P<app_name>.*)/$', views.tool_qark, name='tool_qark'),
    url(r'^tool/dc/(?P<app_name>.*)/$', views.tool_dc, name='tool_dc'),
    url(r'^tool/sniffgit/(?P<app_name>.*)/$', views.tool_sniffgit, name='tool_sniffgit'),
    url(r'^tool/andro/(?P<app_name>.*)/$', views.tool_andro, name='tool_andro'),
    url(r'^tool/dbparser/(?P<app_name>.*)/$', views.tool_dbparser, name='tool_dbparser'),
    url(r'^tool/dbparser-detail/(?P<app_name>.*)/(?P<id>.*)/(?P<table_name>.*)/$', 
        views.dbparser_detail, name='dbparser_detail'),

    #url(r'^$', views.scan, name='scan'),
    url(r'^tool/(?P<app_name>.*)/(?P<tool_index>.*)/$', views.scan_tool, name='scan_tool'),
    url(r'^connect/(?P<method>.*)/(?P<ip>.*)/$', views.connect, name='connect'),
    url(r'^one/(?P<app_name>.*)/$', views.scan_one, name='scan_one')
]

#url(r'^$', views.scan, name='scan'),