├── Flaskshop ├── run.py ├── taobao │ ├── __init__.py │ ├── forms.py │ ├── models.py │ ├── routes.py │ ├── static │ │ ├── bootstrap.min.css │ │ ├── bootstrap.min.js │ │ ├── jquery-3.2.1.slim.min.js │ │ ├── main.css │ │ └── popper.min.js │ ├── taobaotest.db │ └── templates │ │ ├── account_about.html │ │ ├── account_layout.html │ │ ├── before_find_password.html │ │ ├── completed_orders.html │ │ ├── coustomer_detail_manager.html │ │ ├── crew_account.html │ │ ├── crew_market.html │ │ ├── crew_order_manager.html │ │ ├── customer_account.html │ │ ├── customer_check_supplier_products.html │ │ ├── customer_order_manager.html │ │ ├── home.html │ │ ├── layout.html │ │ ├── login.html │ │ ├── new_customer_detail.html │ │ ├── register.html │ │ ├── reset_request.html │ │ ├── reset_token.html │ │ ├── search.html │ │ ├── security_check.html │ │ ├── shopping_car.html │ │ ├── shou_supplier_crews.html │ │ ├── show_confirm_waitting_orders.html │ │ ├── show_customer_detail.html │ │ ├── show_order_details.html │ │ ├── show_supplier_product.html │ │ ├── supplier_account.html │ │ ├── supplier_add_product_count.html │ │ ├── supplier_crew_manager.html │ │ ├── supplier_new_product.html │ │ ├── supplier_product_manager.html │ │ ├── supplier_update_product.html │ │ ├── traning_orders.html │ │ ├── update_crew_info.html │ │ ├── update_customer_detail.html │ │ ├── update_info.html │ │ ├── update_password.html │ │ ├── update_supplier_info.html │ │ ├── upload.html │ │ └── waitting_orders.html └── writeup.pdf ├── LICENSE ├── README.md ├── easyWEB ├── docker-compose.yml ├── web1 │ ├── Dockerfile │ └── html │ │ ├── common │ │ ├── cacf.php │ │ ├── function.php │ │ └── home.php │ │ ├── geez.sql │ │ ├── include │ │ ├── config.php │ │ ├── log1.php │ │ └── shell.php │ │ ├── index.php │ │ ├── lib │ │ ├── File.php │ │ ├── User.php │ │ ├── base.php │ │ └── run.php │ │ ├── log.php │ │ ├── org │ │ └── smarty │ │ │ ├── Autofoucer.php │ │ │ ├── Autoloader.php │ │ │ ├── Smarty.class.php │ │ │ ├── SmartyBC.class.php │ │ │ ├── debug.tpl │ │ │ ├── plugins │ │ │ ├── block.textformat.php │ │ │ ├── function.counter.php │ │ │ ├── function.cycle.php │ │ │ ├── function.fetch.php │ │ │ ├── function.html_checkboxes.php │ │ │ ├── function.html_image.php │ │ │ ├── function.html_options.php │ │ │ ├── function.html_radios.php │ │ │ ├── function.html_select_date.php │ │ │ ├── function.html_select_time.php │ │ │ ├── function.html_table.php │ │ │ ├── function.mailto.php │ │ │ ├── function.math.php │ │ │ ├── modifier.capitalize.php │ │ │ ├── modifier.date_format.php │ │ │ ├── modifier.debug_print_var.php │ │ │ ├── modifier.escape.php │ │ │ ├── modifier.regex_replace.php │ │ │ ├── modifier.replace.php │ │ │ ├── modifier.spacify.php │ │ │ ├── modifier.truncate.php │ │ │ ├── modifiercompiler.cat.php │ │ │ ├── modifiercompiler.count_characters.php │ │ │ ├── modifiercompiler.count_paragraphs.php │ │ │ ├── modifiercompiler.count_sentences.php │ │ │ ├── modifiercompiler.count_words.php │ │ │ ├── modifiercompiler.default.php │ │ │ ├── modifiercompiler.escape.php │ │ │ ├── modifiercompiler.from_charset.php │ │ │ ├── modifiercompiler.indent.php │ │ │ ├── modifiercompiler.lower.php │ │ │ ├── modifiercompiler.noprint.php │ │ │ ├── modifiercompiler.string_format.php │ │ │ ├── modifiercompiler.strip.php │ │ │ ├── modifiercompiler.strip_tags.php │ │ │ ├── modifiercompiler.to_charset.php │ │ │ ├── modifiercompiler.unescape.php │ │ │ ├── modifiercompiler.upper.php │ │ │ ├── modifiercompiler.wordwrap.php │ │ │ ├── outputfilter.trimwhitespace.php │ │ │ ├── shared.escape_special_chars.php │ │ │ ├── shared.literal_compiler_param.php │ │ │ ├── shared.make_timestamp.php │ │ │ ├── shared.mb_str_replace.php │ │ │ ├── shared.mb_unicode.php │ │ │ ├── shared.mb_wordwrap.php │ │ │ └── variablefilter.htmlspecialchars.php │ │ │ └── sysplugins │ │ │ ├── smarty_cacheresource.php │ │ │ ├── smarty_cacheresource_custom.php │ │ │ ├── smarty_cacheresource_keyvaluestore.php │ │ │ ├── smarty_data.php │ │ │ ├── smarty_internal_cacheresource_file.php │ │ │ ├── smarty_internal_compile_append.php │ │ │ ├── smarty_internal_compile_assign.php │ │ │ ├── smarty_internal_compile_block.php │ │ │ ├── smarty_internal_compile_break.php │ │ │ ├── smarty_internal_compile_call.php │ │ │ ├── smarty_internal_compile_capture.php │ │ │ ├── smarty_internal_compile_config_load.php │ │ │ ├── smarty_internal_compile_continue.php │ │ │ ├── smarty_internal_compile_debug.php │ │ │ ├── smarty_internal_compile_eval.php │ │ │ ├── smarty_internal_compile_extends.php │ │ │ ├── smarty_internal_compile_for.php │ │ │ ├── smarty_internal_compile_foreach.php │ │ │ ├── smarty_internal_compile_function.php │ │ │ ├── smarty_internal_compile_if.php │ │ │ ├── smarty_internal_compile_include.php │ │ │ ├── smarty_internal_compile_include_php.php │ │ │ ├── smarty_internal_compile_insert.php │ │ │ ├── smarty_internal_compile_ldelim.php │ │ │ ├── smarty_internal_compile_nocache.php │ │ │ ├── smarty_internal_compile_private_block_plugin.php │ │ │ ├── smarty_internal_compile_private_function_plugin.php │ │ │ ├── smarty_internal_compile_private_modifier.php │ │ │ ├── smarty_internal_compile_private_object_block_function.php │ │ │ ├── smarty_internal_compile_private_object_function.php │ │ │ ├── smarty_internal_compile_private_php.php │ │ │ ├── smarty_internal_compile_private_print_expression.php │ │ │ ├── smarty_internal_compile_private_registered_block.php │ │ │ ├── smarty_internal_compile_private_registered_function.php │ │ │ ├── smarty_internal_compile_private_special_variable.php │ │ │ ├── smarty_internal_compile_rdelim.php │ │ │ ├── smarty_internal_compile_section.php │ │ │ ├── smarty_internal_compile_setfilter.php │ │ │ ├── smarty_internal_compile_while.php │ │ │ ├── smarty_internal_compilebase.php │ │ │ ├── smarty_internal_config_file_compiler.php │ │ │ ├── smarty_internal_configfilelexer.php │ │ │ ├── smarty_internal_configfileparser.php │ │ │ ├── smarty_internal_data.php │ │ │ ├── smarty_internal_debug.php │ │ │ ├── smarty_internal_extension_codeframe.php │ │ │ ├── smarty_internal_extension_config.php │ │ │ ├── smarty_internal_extension_defaulttemplatehandler.php │ │ │ ├── smarty_internal_filter_handler.php │ │ │ ├── smarty_internal_function_call_handler.php │ │ │ ├── smarty_internal_get_include_path.php │ │ │ ├── smarty_internal_nocache_insert.php │ │ │ ├── smarty_internal_parsetree.php │ │ │ ├── smarty_internal_parsetree_code.php │ │ │ ├── smarty_internal_parsetree_dq.php │ │ │ ├── smarty_internal_parsetree_dqcontent.php │ │ │ ├── smarty_internal_parsetree_tag.php │ │ │ ├── smarty_internal_parsetree_template.php │ │ │ ├── smarty_internal_parsetree_text.php │ │ │ ├── smarty_internal_resource_eval.php │ │ │ ├── smarty_internal_resource_extends.php │ │ │ ├── smarty_internal_resource_file.php │ │ │ ├── smarty_internal_resource_php.php │ │ │ ├── smarty_internal_resource_registered.php │ │ │ ├── smarty_internal_resource_stream.php │ │ │ ├── smarty_internal_resource_string.php │ │ │ ├── smarty_internal_smartytemplatecompiler.php │ │ │ ├── smarty_internal_template.php │ │ │ ├── smarty_internal_templatebase.php │ │ │ ├── smarty_internal_templatecompilerbase.php │ │ │ ├── smarty_internal_templatelexer.php │ │ │ ├── smarty_internal_templateparser.php │ │ │ ├── smarty_internal_testinstall.php │ │ │ ├── smarty_internal_utility.php │ │ │ ├── smarty_internal_write_file.php │ │ │ ├── smarty_resource.php │ │ │ ├── smarty_resource_custom.php │ │ │ ├── smarty_resource_recompiled.php │ │ │ ├── smarty_resource_uncompiled.php │ │ │ ├── smarty_security.php │ │ │ ├── smarty_template_cached.php │ │ │ ├── smarty_template_compiled.php │ │ │ ├── smarty_template_config.php │ │ │ ├── smarty_template_source.php │ │ │ ├── smarty_undefined_variable.php │ │ │ ├── smarty_variable.php │ │ │ ├── smartycompilerexception.php │ │ │ └── smartyexception.php │ │ ├── public │ │ ├── css │ │ │ ├── bootstrap-theme.css │ │ │ ├── bootstrap-theme.css.map │ │ │ ├── bootstrap-theme.min.css │ │ │ ├── bootstrap.css │ │ │ ├── bootstrap.css.map │ │ │ ├── bootstrap.min.css │ │ │ ├── gongyong.css │ │ │ ├── reset.css │ │ │ └── style.css │ │ ├── image │ │ │ ├── background.jpg │ │ │ ├── bg.jpg │ │ │ ├── big.jpg │ │ │ ├── name.png │ │ │ └── password.png │ │ └── js │ │ │ ├── app.js │ │ │ ├── bootstrap.js │ │ │ ├── bootstrap.min.js │ │ │ ├── jquery-1.8.3.min.js │ │ │ ├── jquery.min.js │ │ │ ├── npm.js │ │ │ └── particles.min.js │ │ ├── supervisord.conf │ │ └── templates │ │ ├── error.tpl │ │ ├── home.tpl │ │ ├── index.tpl │ │ ├── register.tpl │ │ ├── success.tpl │ │ └── updatepass.tpl └── writeup.pdf ├── pwn ├── calculator ├── calculator.bak └── writeup.py └── thinkPHP ├── .gitignore ├── LICENSE.txt ├── application ├── .htaccess ├── admin │ ├── config.php │ ├── controller │ │ ├── Admin.php │ │ ├── Article.php │ │ ├── Base.php │ │ ├── Cate.php │ │ ├── Index.php │ │ ├── Links.php │ │ └── Login.php │ ├── model │ │ ├── Admin.php │ │ ├── Article.php │ │ ├── Cate.php │ │ └── Links.php │ ├── validate │ │ ├── Admin.php │ │ ├── Article.php │ │ ├── Cate.php │ │ ├── Links.php │ │ └── Tags.php │ └── view │ │ ├── admin │ │ ├── add.htm │ │ ├── edit.htm │ │ └── lst.htm │ │ ├── article │ │ ├── add.htm │ │ ├── edit.htm │ │ └── lst.htm │ │ ├── cate │ │ ├── add.htm │ │ ├── edit.htm │ │ └── lst.htm │ │ ├── common │ │ ├── left.htm │ │ └── top.htm │ │ ├── index │ │ └── index.htm │ │ ├── links │ │ ├── add.htm │ │ ├── edit.htm │ │ └── lst.htm │ │ └── login │ │ └── login.htm ├── command.php ├── common.php ├── config.php ├── database.php ├── index │ ├── common.php │ ├── config.php │ ├── controller │ │ ├── Article.php │ │ ├── Base.php │ │ ├── Cate.php │ │ ├── Index.php │ │ └── Search.php │ └── view │ │ ├── article │ │ └── article.html │ │ ├── cate │ │ └── cate.html │ │ ├── common │ │ ├── foot.html │ │ ├── header.html │ │ └── right.html │ │ ├── index │ │ └── index.html │ │ └── search │ │ └── search.html ├── route.php └── tags.php ├── blog.sql ├── build.php ├── composer.json ├── extend └── .gitignore ├── phpunit.xml ├── public ├── .htaccess ├── blog.sql ├── favicon.ico ├── index.php ├── robots.txt ├── router.php └── static │ └── .gitignore ├── runtime └── temp │ ├── 3f3091e7a346cc474820a2a4d5d14333.php │ ├── 549f8e214256acc77c6d71d90dde481a.php │ ├── 5944f8a212d3e204c557b2fecd7b261a.php │ ├── 6073676e7ea783822304d5de1e2c1312.php │ ├── 7729e0943396e8a1340f5e4073f07a18.php │ ├── c0edf44dce95ffc9c1d548d9364e8dc9.php │ ├── deeca46088bab20aa254dff5b1dd2fe5.php │ └── e71583a3903d6016ef1ca6d413119863.php ├── tests ├── ExampleTest.php └── TestCase.php ├── think ├── vendor └── .gitignore └── writeup.pdf /Flaskshop/run.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | from taobao import app,db 3 | from werkzeug.contrib.fixers import ProxyFix 4 | app.wsgi_app=ProxyFix(app.wsgi_app) 5 | 6 | 7 | 8 | if __name__ == '__main__': 9 | app.run(debug=False) 10 | db.create_all() 11 | -------------------------------------------------------------------------------- /Flaskshop/taobao/__init__.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | from flask import Flask 3 | from flask_sqlalchemy import SQLAlchemy 4 | from flask_bcrypt import Bcrypt 5 | from flask_login import LoginManager 6 | from flask_mail import Mail 7 | 8 | app = Flask(__name__) 9 | app.config["SQLALCHEMY_DATABASE_URI"] = r"sqlite:///taobaotest.db?check_same_thread=False" 10 | app.config['SECRET_KEY'] = '5791628bb0b13ce0c576dfde280ba255' 11 | app.config["SQLALCHEMY_TRACK_MODIFICATIONS"]=True 12 | 13 | 14 | db = SQLAlchemy(app) 15 | bcrypt = Bcrypt(app) 16 | login_manager = LoginManager(app) 17 | login_manager.login_view = "login" 18 | login_manager.login_message_category ="info" 19 | 20 | 21 | 22 | 23 | from taobao import routes 24 | -------------------------------------------------------------------------------- /Flaskshop/taobao/static/main.css: -------------------------------------------------------------------------------- 1 | body { 2 | background: #fafafa; 3 | color: #333333; 4 | margin-top: 5rem; 5 | } 6 | 7 | h1, h2, h3, h4, h5, h6 { 8 | color: #444444; 9 | } 10 | 11 | .bg-steel { 12 | background-color: #5f788a; 13 | } 14 | 15 | .site-header .navbar-nav .nav-link { 16 | color: #cbd5db; 17 | } 18 | 19 | .site-header .navbar-nav .nav-link:hover { 20 | color: #ffffff; 21 | } 22 | 23 | .site-header .navbar-nav .nav-link.active { 24 | font-weight: 500; 25 | } 26 | 27 | .content-section { 28 | background: #ffffff; 29 | padding: 10px 20px; 30 | border: 1px solid #dddddd; 31 | border-radius: 3px; 32 | margin-bottom: 20px; 33 | } 34 | 35 | .article-title { 36 | color: #444444; 37 | } 38 | 39 | a.article-title:hover { 40 | color: #428bca; 41 | text-decoration: none; 42 | } 43 | 44 | .article-content { 45 | white-space: pre-line; 46 | } 47 | 48 | .article-img { 49 | height: 65px; 50 | width: 65px; 51 | margin-right: 16px; 52 | } 53 | 54 | .article-metadata { 55 | padding-bottom: 1px; 56 | margin-bottom: 4px; 57 | border-bottom: 1px solid #e3e3e3 58 | } 59 | 60 | .article-metadata a:hover { 61 | color: #333; 62 | text-decoration: none; 63 | } 64 | 65 | .article-svg { 66 | width: 25px; 67 | height: 25px; 68 | vertical-align: middle; 69 | } 70 | 71 | .account-img { 72 | height: 125px; 73 | width: 125px; 74 | margin-right: 20px; 75 | margin-bottom: 16px; 76 | } 77 | 78 | .account-heading { 79 | font-size: 2.5rem; 80 | } 81 | -------------------------------------------------------------------------------- /Flaskshop/taobao/taobaotest.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GinkgoTeam/YJTZB_2019/7acb23f145ff70e09baade92e6b5a65856b36a1e/Flaskshop/taobao/taobaotest.db -------------------------------------------------------------------------------- /Flaskshop/taobao/templates/account_about.html: -------------------------------------------------------------------------------- 1 | {% extends "account_layout.html" %} 2 | {% block info %} 3 |
{{ current_user.email }}
8 |{$vo.desc}
33 |{$vo.desc}
33 |