PhpStudy靶场首页管理

news2024/10/5 19:15:45

PhpStudy靶场首页管理

  • 一、源码一
  • 二、源码二
  • 三、源码三
  • 四、源码四

一、源码一

在这里插入图片描述

  • index.html
<!DOCTYPE html>
<html>

<head>
	<meta charset="UTF-8">
  <title>靶场访问首页</title>
  <style>
    body {
      background-color: #f2f2f2;
      color: #333;
      font-family: 'Courier New', monospace;
      text-align: center;
      padding-top: 100px;
    }

    h1 {
      font-size: 60px;
      margin-bottom: 40px;
      letter-spacing: 8px;
    }

    .target-container {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      margin-top: 50px;
    }

    .target {
      position: relative;
      width: 20%;
      background-color: #fff;
      padding: 40px;
      margin: 20px;
      box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
      cursor: pointer;
      border-radius: 10px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      transition: box-shadow 0.3s ease;
    }

    .target:hover {
      transform: scale(1.05);
      box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    }

    .target-name {
      font-size: 24px;
      margin-top: 20px;
      text-transform: uppercase;
    }

    .target-icon {
      font-size: 80px;
      animation: rotate-icon 5s infinite linear;
    }

    @keyframes rotate-icon {
      from {
        transform: rotate(0deg);
      }

      to {
        transform: rotate(360deg);
      }
    }

    @keyframes fade-in-rotate {
      0% {
        opacity: 0;
        transform: rotate(-180deg);
      }

      100% {
        opacity: 1;
        transform: rotate(0deg);
      }
    }

    /* 刷新动画 */
    .refresh-animation {
      animation: fade-in-rotate 1s ease-out;
    }

    /* 鼠标移动动态效果 */
    body.active {
      background-color: #c7d2d9;
    }

    .target.active {
      box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    }

    /* 点击背景动态效果 */
    body.clicked {
      background: linear-gradient(to bottom right, #ed355f, #fba63c);
    }

    /* 鼠标移动轨迹效果 */
    .mouse-trail {
      position: fixed;
      top: 0;
      left: 0;
      pointer-events: none;
      z-index: 9999;
    }

    .mouse-trail .trail-item {
      position: absolute;
      background-color: #777;
      width: 8px;
      height: 8px;
      border-radius: 50%;
      transform-origin: 50% 50%;
      opacity: 0.4;
      transition: transform 0.3s ease, opacity 0.3s ease;
    }
  </style>
</head>

<body>
  <h1>PHPSTUDY靶场</h1>

  <div class="target-container">
    <div class="target">
      <a href="http://127.0.0.1/target/DVWA-master">
        <div class="target-icon">&#9937;</div>
        <div class="target-name">DVWA-master</div>
      </a>
    </div>

    <div class="target">
      <a href="http://127.0.0.1/target/sqli-labs-master">
        <div class="target-icon">&#9742;</div>
        <div class="target-name">sqli-labs-master</div>
      </a>
    </div>

    <div class="target">
      <a href="http://127.0.0.1/target/bWAPP-master/app">
        <div class="target-icon">&#9760;</div>
        <div class="target-name">bWAPP-master</div>
      </a>
    </div>

    <div class="target">
      <a href="http://127.0.0.1/target/pikachu-master">
        <div class="target-icon">&#9924;</div>
        <div class="target-name">pikachu-master</div>
      </a>
    </div>

    <div class="target">
      <a href="http://127.0.0.1/target/upload-labs-master">
        <div class="target-icon">&#9727;</div>
        <div class="target-name">upload-labs-master</div>
      </a>
    </div>
	
	
    <div class="target">
      <a href="http://127.0.0.1/target/xss">
        <div class="target-icon">&#9738;</div>
        <div class="target-name">xss</div>
      </a>
    </div>

    <div class="target">
      <a href="http://127.0.0.1/target/http">
        <div class="target-icon">&#9728;</div>
        <div class="target-name">http</div>
      </a>
    </div>
  
    <div class="target">
      <a href="http://127.0.0.1/target/doubibd/doubibd.html">
        <div class="target-icon">&#9750;</div>
        <div class="target-name">doubibd</div>
      </a>
    </div>
	
	
	</div>

  <div class="mouse-trail"></div>
    <script>
    // 添加刷新动画类名
    document.addEventListener("DOMContentLoaded", function() {
      const targets = document.getElementsByClassName("target");
      setTimeout(function() {
        for (let i = 0; i < targets.length; i++) {
          targets[i].classList.add("refresh-animation");
        }
      }, 100);
    });

    // 添加鼠标移动动态效果和轨迹效果
    document.addEventListener("mousemove", function(event) {
      document.body.classList.add("active");
      
      const trail = document.querySelector(".mouse-trail");
      const trailItem = document.createElement("div");
      trailItem.classList.add("trail-item");
      trail.appendChild(trailItem);
      
      // 实时设置轨迹位置
      trailItem.style.left = event.clientX + "px";
      trailItem.style.top = event.clientY + "px";
      
      // 设置淡出效果
      setTimeout(function() {
        trailItem.style.opacity = "0";        
      }, 100);
      
      // 当轨迹元素过多时,移除最早的元素
      if (trail.children.length > 10) {
        trail.removeChild(trail.firstChild);
      }
    });

    // 添加点击背景动态效果
    document.body.addEventListener("click", function() {
      this.classList.add("clicked");
      setTimeout(function() {
        document.body.classList.remove("clicked");
      }, 1000);
    });
  </script>
</body>

</html>
  

二、源码二

在这里插入图片描述

  • index.html
<!DOCTYPE html>
<html>
<head>
    <title>神秘靶场首页</title>
    <style>
        body {
            background-color: #222;
            color: #fff;
            font-family: Arial, sans-serif;
            text-align: center;
        }

        .container {
            max-width: 800px;
            margin: 0 auto;
            padding: 50px;
        }

        h1 {
            font-size: 60px;
            margin-bottom: 20px;
            text-transform: uppercase;
            font-weight: bold;
            color: #ff5722;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        }

        p {
            font-size: 24px;
            margin-bottom: 30px;
            color: #ffc107;
        }

        .target-link {
            display: inline-block;
            padding: 12px 30px;
            margin: 10px;
            background-color: #4caf50;
            color: #fff;
            text-decoration: none;
            border-radius: 50px;
            transition: background-color 0.3s ease;
            font-size: 18px;
            font-weight: bold;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
        }

        .target-link:hover {
            background-color: #388e3c;
            transform: translateY(-2px);
        }

        .mysterious-section {
            margin-top: 50px;
            color: #757575;
        }

        .mysterious-text {
            font-size: 28px;
            font-weight: bold;
        }

        .extra-element {
            margin-top: 50px;
            padding: 20px;
            background-color: #212121;
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
        }

        .extra-element-title {
            font-size: 24px;
            margin-bottom: 10px;
            color: #fff;
        }

        .extra-element-text {
            font-size: 18px;
            color: #ccc;
        }

        .footer {
            margin-top: 50px;
            font-size: 14px;
            color: #757575;
        }

        .footer a {
            color: #ffc107;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .footer a:hover {
            color: #ff5722;
        }
    </style>
</head>
<body>
    <div class="container">
        <h1>神秘靶场</h1>
        <p>探索神秘的世界,挑战你的黑客技能:</p>
        <a href="http://127.0.0.1/target/DVWA-master" class="target-link">DVWA-master</a>
        <a href="http://127.0.0.1/target/sqli-labs-master" class="target-link">sqli-labs-master</a>
        <a href="http://127.0.0.1/target/bWAPP-master/app" class="target-link">bWAPP-master</a>
		<a href="http://127.0.0.1/target/pikachu-master" class="target-link">pikachu-master</a>
		<a href="http://127.0.0.1/target/upload-labs-master" class="target-link">upload-labs-master</a>
		<a href="http://127.0.0.1/target/xss" class="target-link">xss</a>
		<a href="http://127.0.0.1/target/http" class="target-link">http</a>
        <!-- 添加更多神秘靶场链接 -->

        <div class="mysterious-section">
            <p class="mysterious-text">探索更多黑客技术......</p>
        </div>
    </div>
</body>
</html>

三、源码三

  • index.html
    在这里插入图片描述
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>PhpStudy靶场</title>
    <style>
        body {
            background-color: #190e23;
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 0;
        }
        
        .container {
            max-width: 800px;
            margin: 0 auto;
            padding: 50px;
            text-align: center;
            color: #fff;
        }
        
        .logo {
            font-size: 48px;
            color: #fff;
            margin-bottom: 30px;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        }
        
        .battlefield-list {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            grid-gap: 20px;
            margin-top: 40px;
            animation: fadeIn 1s ease;
        }
        
        .battlefield-card {
            background-color: #191d2b;
            box-shadow: 0 5px 10px rgba(0,0,0,0.2);
            border-radius: 10px;
            padding: 20px;
            text-align: center;
            transition: transform 0.3s ease;
            position: relative;
            z-index: 1;
            overflow: hidden;
        }
        
        .battlefield-card:before, .battlefield-card:after {
            content: "";
            position: absolute;
            width: 50px;
            height: 50px;
        }
        
        .battlefield-card:before {
            top: -10px;
            left: -10px;
            background-color: rgba(255, 255, 255, 0.1);
            transform: rotate(45deg);
        }
        
        .battlefield-card:after {
            bottom: -10px;
            right: -10px;
            background-color: rgba(255, 255, 255, 0.1);
            transform: rotate(-45deg);
        }
        
        .battlefield-card:hover {
            transform: translateY(-5px);
            box-shadow: 0px 8px 15px rgba(0,0,0,0.3);
            cursor: pointer;
        }
        
        .battlefield-title {
            font-size: 24px;
            margin-bottom: 10px;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        }
        
        .battlefield-link {
            display: inline-block;
            color: #fff;
            background-color: #444;
            padding: 10px 20px;
            border-radius: 4px;
            text-decoration: none;
            transition: background-color 0.3s ease;
        }
        
        .battlefield-link:hover {
            background-color: #666;
        }

        @keyframes fadeIn {
            0% { opacity: 0; }
            100% { opacity: 1; }
        }
    </style>
</head>
<body>
<div class="container">
    <h1 class="logo">PhpStudy靶场</h1>
    <div class="battlefield-list">
        <div class="battlefield-card">
            <h2 class="battlefield-title">DVWA-master</h2>
            <a class="battlefield-link" href="http://127.0.0.1/target/DVWA-master">进入</a>
        </div>
        <div class="battlefield-card">
            <h2 class="battlefield-title">sqli-labs-master</h2>
            <a class="battlefield-link" href="http://127.0.0.1/target/sqli-labs-master">进入</a>
        </div>
        <div class="battlefield-card">
            <h2 class="battlefield-title">bWAPP-master</h2>
            <a class="battlefield-link" href="http://127.0.0.1/target/bWAPP-master/app">进入</a>
        </div>
        <div class="battlefield-card">
            <h2 class="battlefield-title">pikachu-master</h2>
            <a class="battlefield-link" href="http://127.0.0.1/target/pikachu-master">进入</a>
        </div>
        <div class="battlefield-card">
            <h2 class="battlefield-title">upload-labs-master</h2>
            <a class="battlefield-link" href="http://127.0.0.1/target/upload-labs-master">进入</a>
        </div>
        <div class="battlefield-card">
            <h2 class="battlefield-title">xss</h2>
            <a class="battlefield-link" href="http://127.0.0.1/target/xss">进入</a>
        </div>
                <div class="battlefield-card">
            <h2 class="battlefield-title">http</h2>
            <a class="battlefield-link" href="http://127.0.0.1/target/http">进入</a>
        </div>
                <div class="battlefield-card">
            <h2 class="battlefield-title">doubibd</h2>
            <a class="battlefield-link" href="http://127.0.0.1/target/doubibd/doubibd.html">进入</a>
        </div>
        <!-- 添加更多靶场链接 -->
    </div>
</div>
</body>
</html>

四、源码四

  • index.html
    在这里插入图片描述
<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
    <title>靶场首页</title>
    <style>
        body {
            background-color: #f4f7f8;
            font-family: 'Arial', sans-serif;
            margin: 0;
        }
        
        header {
            background-color: #17252A;
            padding: 20px;
            color: #fff;
            text-align: center;
            font-size: 28px;
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
        }
        
        #targets {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            align-items: center;
            padding: 0 30px;
            margin-top: 40px;
        }
        
        .target-card {
            flex-basis: 300px;
            margin: 20px;
            padding: 20px;
            text-align: center;
            background-color: #ffffff;
            background-image: url('https://example.com/pattern.png');
            background-size: cover;
            background-position: center;
            border-radius: 10px;
            box-shadow: 0 2px 6px rgba(23, 37, 42, 0.3);
            transition: transform 0.3s ease, opacity 0.3s ease;
            position: relative;
            overflow: hidden;
        }
        
        .target-card:before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image: radial-gradient(#ffffff, transparent 70%);
            -webkit-transform: scale(2);
                    transform: scale(2);
            opacity: 0.08;
        }
        
        .target-card:hover {
            transform: translateY(-5px);
        }
        
        .target-title {
            font-size: 20px;
            margin-bottom: 10px;
            color: #17252A;
        }
        
        .target-link {
            display: inline-block;
            border: none;
            padding: 10px 20px;
            background-color: #FF6E40;
            color: #ffffff;
            text-decoration: none;
            border-radius: 30px;
            font-size: 16px;
            transition: background-color 0.3s ease;
            position: relative;
            z-index: 1;
        }
        
        .target-link:hover {
            background-color: #FF5722;
        }
        
        @media (max-width: 576px) {
            .target-card {
                flex-basis: 100%;
                margin: 10px;
            }
        }
        
        @keyframes fadeIn {
            0% { opacity: 0; transform: scale(0.9); }
            100% { opacity: 1; transform: scale(1); }
        }
    </style>
    <script>
        window.addEventListener('load', function() {
            var targetsContainer = document.getElementById('targets');

            // 靶场列表数组
            var targets = [
                { title: 'DVWA-master', url: 'http://127.0.0.1/target/DVWA-master' },
                { title: 'sqli-labs-master', url: 'http://127.0.0.1/target/sqli-labs-master' },
                { title: 'bWAPP-master', url: 'http://127.0.0.1/target/bWAPP-master/app' },
                { title: 'pikachu-master', url: 'http://127.0.0.1/target/pikachu-master' },
                { title: 'upload-labs-master', url: 'http://127.0.0.1/target/upload-labs-master' },
                { title: 'xss', url: 'http://127.0.0.1/target/xss' },
                { title: 'http', url: 'http://127.0.0.1/target/http' },
                { title: 'doubibd', url: 'http://127.0.0.1/target/doubibd/doubibd.html' },  
                // 添加更多靶场...
            ];

            targets.forEach(function(target) {
                var targetCard = document.createElement('div');
                targetCard.classList.add('target-card');
                targetCard.style.animation = 'fadeIn 1s';

                var targetTitle = document.createElement('h2');
                targetTitle.classList.add('target-title');
                targetTitle.textContent = target.title;

                var targetLink = document.createElement('a');
                targetLink.classList.add('target-link');
                targetLink.href = target.url;
                targetLink.textContent = '查看靶场';

                targetCard.appendChild(targetTitle);
                targetCard.appendChild(targetLink);

                targetsContainer.appendChild(targetCard);
            });
        });
    </script>
</head>
<body>
    <header>靶场首页</header>
    <div id="targets">
        <!-- 靶场列表将会动态生成到这里 -->
    </div>
</body>
</html>

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.coloradmin.cn/o/779425.html

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈,一经查实,立即删除!

相关文章

一个月学通Python(二十三):RESTful架构和DRF入门

专栏介绍 结合自身经验和内部资料总结的Python教程&#xff0c;每天3-5章&#xff0c;最短1个月就能全方位的完成Python的学习并进行实战开发&#xff0c;学完了定能成为大佬&#xff01;加油吧&#xff01;卷起来&#xff01; 全部文章请访问专栏&#xff1a;《Python全栈教…

【字符流】案例:集合到文件(改进版)

案例&#xff1a;集合到文件&#xff08;改进版&#xff09; 1.需求&#xff1a; 把ArrayList集合中的学生数据写入到文本文件。要求&#xff1a;每一个学生对象的数据作为文件中的一行数据 ​ 格式&#xff1a;学号&#xff0c;姓名&#xff0c;年龄&#xff0c;居住地 2.思…

python与深度学习(五):CNN和手写数字识别

目录 1. 说明2. 卷积运算3. 填充4. 池化5. 卷积神经网络实战-手写数字识别的CNN模型5.1 导入相关库5.2 加载数据5.3 数据预处理5.4 数据处理5.5 构建网络模型5.6 模型编译5.7 模型训练、保存和评价5.8 模型测试5.9 模型训练结果的可视化 6. 手写数字识别的CNN模型可视化结果图7…

HideSeeker论文阅读

文章目录 3.1 Overview of Our System HideSeeker3.2 Visual Information Extraction3.3 Relation Graph Learning3.4 Hidden Object Inference 4 EVALUATIONS4.7 Summary 6 DISCUSSIONS AND CONCLUSION 3.1 Overview of Our System HideSeeker 我们设计了一种名为“HideSeeke…

【Selenium+Pytest+allure报告生成自动化测试框架】附带项目源码和项目部署文档

目录 前言 【文章末尾给大家留下了大量的福利】 测试框架简介 首先管理时间 添加配置文件 conf.py config.ini 读取配置文件 记录操作日志 简单理解POM模型 简单学习元素定位 管理页面元素 封装Selenium基类 创建页面对象 简单了解Pytest pytest.ini 编写测试…

保护数字世界的壁垒

随着科技的不断发展和互联网的普及&#xff0c;我们的生活日益依赖于数字化的世界。然而&#xff0c;随之而来的是网络安全威胁的不断增加。网络攻击、数据泄露和身份盗窃等问题已经成为我们所面临的现实。因此&#xff0c;网络安全变得尤为重要&#xff0c;我们需要采取措施来…

MySQL常见的几种约束

系列文章目录 后续补充 文章目录 系列文章目录前言一、主键约束二、非空约束三、唯一约束四、检查约束五、默认值约束六、字段值自动增加约束七、外键约束总结 前言 为防止不符合规范的数据存入数据库&#xff0c;在用户对数据进行插入、修改、删除等操作时&#xff0c;MySQL提…

新架构网易云音乐UI风格大变身,更像Apple Music?

继QQ的NT版本出来后&#xff0c;掀起了一番热潮&#xff0c;不少科技资讯的UP开始评测采用全新架构的QQ的性能以及内存占用情况&#xff0c; 文末中&#xff0c;苏音也提到了&#xff0c;是否在QQ新版本的发布下&#xff0c;会有越来越多的产品向Electron架构靠近&#xff1f;…

优雅的使用CLion开发STM32 2023最新版本~

1.下载资料 一共需要的资料如下 ✈代表需要魔法 没有标注可直接访问 Clion下载链接 cubemx下载链接 mingw 下载连接 ✈安装完直接解压到文件夹 并且把bin文件的路径存入path环境变量 gcc下载链接✈安装完直接解压到文件夹 并且把bin文件的路径存入path环境变量 openocd下…

详细解析黑马微信小程序视频--【思维导图知识范围】

其实总目录集链接在此&#xff1a; 如何0元学微信小程序–【浅入深出系列000】 先列前几辑&#xff0c;后面的更新在 系列000里 专辑及链接难度&#xff08;五星制&#xff09;详细解析黑马微信小程序视频–【浅入深出系列-001】难度★✫✰✰✰让别人的小程序长成自己的样子…

仿写SpringMVC中的注解和方法映射功能

本项目已开源&#xff0c;欢迎各位大佬访问并指正&#xff1a;仿写SpringMVC中的注解和方法映射功能 文章目录 一、仿写流程1、初始化2、测试 二、代码实现1、自定义注解Controller和RequestMapping2、扫描本项目下Controller下所有的java文件3、识别注解&#xff0c;完成映射4…

【算组合数】CF1833 F

少见地秒了这道1700&#xff0c;要是以后都这样就好了.... Problem - F - Codeforces 题意&#xff1a; 给定一个数列&#xff0c;让你在这个数列里找一个大小为M的子集&#xff0c;使得极差不超过M 思路&#xff1a; 子集&#xff0c;不是子序列&#xff0c;说明和顺序无…

【算法与数据结构】101、LeetCode对称二叉树

文章目录 一、题目二、递归法三、迭代法三、完整代码 所有的LeetCode题解索引&#xff0c;可以看这篇文章——【算法和数据结构】LeetCode题解。 一、题目 二、递归法 思路分析&#xff1a;这道题目标就是要对比左右两半的树是否对称&#xff0c;因此对比不是左右节点是否相等&…

ThreadPoolExecutor自定义线程池|拒绝策略|线程工厂|统一捕获异常

线程池的7大参数含义介绍 corePoolSize&#xff1a;池中一直保持的线程的数量。 maximumPoolSize&#xff1a;池中允许的最大的线程数。 keepAliveTime&#xff1a;当线程数大于核心线程数的时候&#xff0c;线程在最大多长时间没有接到新任务就会终止释放&#xff0c; 最终…

点击加号添加新的输入框

实现如上图的效果 html部分&#xff1a; <el-form-item class"forminput" v-for"(item,index) in formdata.description" :key"index" :label"描述(index1)" prop"description"><el-input v-model"formdata…

STM32入门之创建工程模板

1.STM32固件库的结构图如下。从图中可以看出&#xff0c;我们在配置STM32的固件库时需要配置用户层、CMSIS层的文件。配置库文件即正确的配置这些函数的文件。CMSIS(Cortex Microcontroller Software Interface Standard)是ARM公司提供的微控制器软件接口标准&#xff0c;所有使…

栈和队列(基础知识和基本操作)

栈&#xff1a; 1.栈&#xff1a;在表尾进行插入和删除的操作受限的线性表。 2.逻辑结构&#xff1a;线性结构【一对一的关系】 3.存储结构&#xff1a;顺序存储【顺序栈】、链式存储【链栈】 4.栈的特点&#xff1a;先进后出【first in last out FILO表】 后进先出【last…

消息队列 CKafka 跨洋数据同步性能优化

导语 本文主要介绍了 CKafka 在跨洋场景中遇到的一个地域间数据同步延时大的问题&#xff0c;跨地域延时问题比较典型&#xff0c;所以详细记录下来做个总结。 一. 背景 为了满足客户跨地域容灾、冷备的诉求&#xff0c;消息队列 CKafka 通过连接器功能&#xff0c;提供了跨…

5.4.tensorRT基础(2)-学习第一个插件的编写

目录 前言1. 插件2. 补充知识总结 前言 杜老师推出的 tensorRT从零起步高性能部署 课程&#xff0c;之前有看过一遍&#xff0c;但是没有做笔记&#xff0c;很多东西也忘了。这次重新撸一遍&#xff0c;顺便记记笔记。 本次课程学习 tensorRT 基础-学习第一个插件的编写 课程大…

python sorted函数

python列表排序 简单记一下python中List的sort方法&#xff08;或者sorted内建函数&#xff09;的用法。 关键字&#xff1a; python列表排序 python字典排序 sorted List的元素可以是各种东西&#xff0c;字符串&#xff0c;字典&#xff0c;自己定义的类等。 sorted函数用法如…