code stringlengths 1 1.05M | repo_name stringlengths 6 83 | path stringlengths 3 242 | language stringclasses 222
values | license stringclasses 20
values | size int64 1 1.05M |
|---|---|---|---|---|---|
/*
* Copyright (c) 2024 Beijing University of Posts and Telecommunications.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LI... | 2301_80000730/security_1307 | vulntest/SSTSTestcases/2024/09/CVE-2024-38588/TestCaseRule-CVE-2024-38588.yara | YARA | unknown | 1,020 |
/*
* Copyright (c) 2024 Beijing University of Posts and Telecommunications.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICEN... | 2301_80000730/security_1307 | vulntest/SSTSTestcases/2024/09/CVE-2024-38601/TestCaseRule-OpenHarmony-CVE-2024-38601.yara | YARA | unknown | 1,083 |
/*
* Copyright (c) 2024 Beijing University of Posts and Telecommunications.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICEN... | 2301_80000730/security_1307 | vulntest/SSTSTestcases/2024/09/CVE-2024-5535/TestCaseRule-CVE-2024-5535.yara | YARA | unknown | 1,038 |
/*
*Copyright (c) 2024 Beijing University of Posts and Telecommunications.
*Licensed under the Apache License, Version 2.0 (the "License");
*you may not use this file except in compliance with the License.
*You may obtain a copy of the License at
*http://www.apache.org/licenses/LICENSE-2.0
*Unless require... | 2301_80000730/security_1307 | vulntest/SSTSTestcases/2024/09/OpenHarmony-CVE-2024-39467/TestCaseRule-OpenHarmony-CVE-2024-39467.yara | YARA | unknown | 1,184 |
/*
* Copyright (c) 2024 Beijing University of Posts and Telecommunications.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICE... | 2301_80000730/security_1307 | vulntest/SSTSTestcases/2024/10/CVE-2023-52672/TestCaseRule-CVE-2023-52672.yara | YARA | unknown | 1,029 |
/*
* Copyright (c) 2024 Beijing University of Posts and Telecommunications.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICEN... | 2301_80000730/security_1307 | vulntest/SSTSTestcases/2024/10/CVE-2024-35947/TestCaseRule-OpenHarmony-CVE-2024-35947.yara | YARA | unknown | 1,003 |
/*
* Copyright (c) 2024 Beijing University of Posts and Telecommunications.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICE... | 2301_80000730/security_1307 | vulntest/SSTSTestcases/2024/10/CVE-2024-40971/CVE-2024-40971.yara | YARA | unknown | 984 |
/*
* Copyright (c) 2024 Beijing University of Posts and Telecommunications.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICE... | 2301_80000730/security_1307 | vulntest/SSTSTestcases/2024/10/CVE-2024-41035/TestCaseRule-CVE-2024-41035.yara | YARA | unknown | 1,068 |
/*
* Copyright (c) 2024 Beijing University of Posts and Telecommunications.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/L... | 2301_80000730/security_1307 | vulntest/SSTSTestcases/2024/10/CVE-2024-41087/TestcaseRule-OpenHarmony-CVE-2024-41087.yara | YARA | unknown | 1,057 |
/*
* Copyright (c) 2024 Beijing University of Posts and Telecommunications.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICEN... | 2301_80000730/security_1307 | vulntest/SSTSTestcases/2024/10/CVE_2024_42115/TestCaseRule-CVE-2024-42115.yara | YARA | unknown | 1,087 |
/*
*Copyright (c) 2024 Beijing University of Posts and Telecommunications.
*Licensed under the Apache License, Version 2.0 (the "License");
*you may not use this file except in compliance with the License.
*You may obtain a copy of the License at
*http://www.apache.org/licenses/LICENSE-2.0
*Unless require... | 2301_80000730/security_1307 | vulntest/SSTSTestcases/2024/10/OpenHarmony-CVE-2024-42114/TestCaseRule-OpenHarmony-CVE-2024-42114.yara | YARA | unknown | 1,113 |
/*
* Copyright (c) 2024 Beijing University of Posts and Telecommunications.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICE... | 2301_80000730/security_1307 | vulntest/SSTSTestcases/2024/12/CVE-2024-26684/TestCaseRule-OpenHarmony-CVE-2024-26684.yara | YARA | unknown | 1,016 |
/*
* Copyright (c) 2025 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... | 2301_80000730/security_1307 | vulntest/SSTSTestcases/2025/01/CVE-2024-54030/CVE-2024-54030.yara | YARA | unknown | 1,181 |
import { hapTasks } from '@ohos/hvigor-ohos-plugin';
export default {
system: hapTasks, /* Built-in plugin of Hvigor. It cannot be modified. */
plugins:[] /* Custom plugin to extend the functionality of Hvigor. */
}
| 2301_80000730/security_1307 | vulntest/vultraining/entry/hvigorfile.ts | TypeScript | unknown | 234 |
import { appTasks } from '@ohos/hvigor-ohos-plugin';
export default {
system: appTasks, /* Built-in plugin of Hvigor. It cannot be modified. */
plugins:[] /* Custom plugin to extend the functionality of Hvigor. */
}
| 2301_80000730/security_1307 | vulntest/vultraining/hvigorfile.ts | TypeScript | unknown | 234 |
rule CVE_2025_21817_Netfilter_InfoLeak
{
meta:
cve = "CVE-2025-21817"
description = "Linux kernel netfilter out-of-bounds read info leak"
author = "汪娅辰(学生 STSS 贡献)"
date = "2025-11-28"
severity = "Medium"
category = "kernel"
st... | 2301_80000730/security_1308 | cve_2025_21817.yara | YARA | unknown | 661 |
/*
* Copyright (c) 2023 Huawei Device Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless r... | 2301_80000730/security_1308 | vulntest/SSTSTestcases/2023/01/OpenHarmony-SA-2023-0101/TestCaseRule-OpenHarmony-SA-2023-0101.yara | YARA | unknown | 1,012 |
/*
* Copyright (c) 2023 Huawei Device Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... | 2301_80000730/security_1308 | vulntest/SSTSTestcases/2023/01/OpenHarmony-SA-2023-0102/TestCaseRule-OpenHarmony-SA-2023-0102.yara | YARA | unknown | 1,207 |
/*
* Copyright (c) 2023 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law ... | 2301_80000730/security_1308 | vulntest/SSTSTestcases/2023/02/OpenHarmony-SA-2023-0201/TestCaseRule-OpenHarmony-SA-2023-0201.yara | YARA | unknown | 1,197 |
/*
* Copyright (c) 2024 Beijing University Of Posts and Telecommunications.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Un... | 2301_80000730/security_1308 | vulntest/SSTSTestcases/2023/03/CVE-2022-4450/TestCaseInfo-CVE-2022-4450.yara | YARA | unknown | 1,137 |
/*
* Copyright (c) 2024 BUPT.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | 2301_80000730/security_1308 | vulntest/SSTSTestcases/2023/03/CVE-2023-23914/TestCaseRule-CVE-2023-23914.yara | YARA | unknown | 989 |
/*
* Copyright (c) 2023 Huawei Device Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... | 2301_80000730/security_1308 | vulntest/SSTSTestcases/2023/03/OpenHarmony-SA-2023-0301/TestCaseRule-OpenHarmony-SA-2023-0301.yara | YARA | unknown | 1,828 |
/*
* Copyright (c) 2023 Huawei Device Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable ... | 2301_80000730/security_1308 | vulntest/SSTSTestcases/2023/03/OpenHarmony-SA-2023-0302/TestCaseRule-OpenHarmony-SA-2023-0302.yara | YARA | unknown | 1,043 |
/*
* Copyright (c) 2024 Beijing University of Posts and Telecommunications.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICE... | 2301_80000730/security_1308 | vulntest/SSTSTestcases/2023/04/OpenHarmony-CVE-2022-30787/TestCaseRule-OpenHarmony-CVE-2022-30787.yara | YARA | unknown | 973 |
/*
* Copyright (c) 2024 Beijing University of Posts and Telecommunications.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICEN... | 2301_80000730/security_1308 | vulntest/SSTSTestcases/2024/06/CVE-2024-2398/TestCaseRule-CVE-2024-2398.yara | YARA | unknown | 1,004 |
/*
* Copyright (c) 2024 Beijing University of Posts and Telecommunications.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENS... | 2301_80000730/security_1308 | vulntest/SSTSTestcases/2024/06/CVE-2024-2478/TestCaseRule-CVE-2024-2478.yara | YARA | unknown | 1,077 |
/*
* Copyright (c) 2024 Beijing University of Posts and Telecommunications.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICE... | 2301_80000730/security_1308 | vulntest/SSTSTestcases/2024/07/CVE-2024-26883/TestCaseRule-CVE-2024-26883.yara | YARA | unknown | 1,124 |
/*
* Copyright (c) 2024 Beijing University of Posts and Telecommunications.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICE... | 2301_80000730/security_1308 | vulntest/SSTSTestcases/2024/07/CVE-2024-26884/TestCaseRule-CVE-2024-26884.yara | YARA | unknown | 1,006 |
/*
* Copyright (c) 2024 Beijing University of Posts and Telecommunications.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICEN... | 2301_80000730/security_1308 | vulntest/SSTSTestcases/2024/07/CVE-2024-27004/TestCaseRule-CVE-2024-27004.yara | YARA | unknown | 1,021 |
/*
* Copyright (c) 2024 Beijing University of Posts and Telecommunications.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICEN... | 2301_80000730/security_1308 | vulntest/SSTSTestcases/2024/07/CVE-2024-27038/CVE-2024-27038.yara | YARA | unknown | 1,081 |
/*
* Copyright (c) 2024 Beijing University of Posts and Telecommunications.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICEN... | 2301_80000730/security_1308 | vulntest/SSTSTestcases/2024/08/CVE-2023-52739/TestCaseRule-CVE-2023-52739.yara | YARA | unknown | 1,069 |
/*
* Copyright (c) 2024 Beijing University of Posts and Telecommunications.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICEN... | 2301_80000730/security_1308 | vulntest/SSTSTestcases/2024/08/CVE-2023-52781/CVE-2023-52781.yara | YARA | unknown | 1,069 |
/*
* Copyright (c) 2024 Beijing University of Posts and Telecommunications.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICEN... | 2301_80000730/security_1308 | vulntest/SSTSTestcases/2024/08/CVE-2023-52835/TestCaseRule-CVE-2023-52835.yara | YARA | unknown | 1,075 |
/*
* Copyright (c) 2024 Beijing University of Posts and Telecommunications.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICE... | 2301_80000730/security_1308 | vulntest/SSTSTestcases/2024/08/CVE-2023-52868/TestCaseRule-CVE-2023-52868.yara | YARA | unknown | 1,007 |
/*
* Copyright (c) 2024 Beijing University of Posts and Telecommunications.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICE... | 2301_80000730/security_1308 | vulntest/SSTSTestcases/2024/08/CVE-2024-26733/TestCaseRule-CVE-2024-26733.yara | YARA | unknown | 1,006 |
/*
* Copyright (c) 2024 Beijing University of Posts and Telecommunications.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICE... | 2301_80000730/security_1308 | vulntest/SSTSTestcases/2024/08/CVE-2024-26934/TestCaseRule-CVE-2024-26934.yara | YARA | unknown | 1,006 |
/*
* Copyright (c) 2024 Beijing University of Posts and Telecommunications.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICEN... | 2301_80000730/security_1308 | vulntest/SSTSTestcases/2024/08/CVE-2024-27399/TestCaseRule-CVE-2024-27399.yara | YARA | unknown | 1,098 |
/*
* Copyright (c) 2024 Beijing University of Posts and Telecommunications.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICEN... | 2301_80000730/security_1308 | vulntest/SSTSTestcases/2024/08/CVE-2024-28182/TestCaseRule-CVE-2024-28182.yara | YARA | unknown | 1,069 |
/*
* Copyright (c) 2024 Beijing University of Posts and Telecommunications.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licens... | 2301_80000730/security_1308 | vulntest/SSTSTestcases/2024/08/CVE-2024-35789/CVE-2024-35789.yara | YARA | unknown | 1,055 |
/*
* Copyright (c) 2024 Beijing University of Posts and Telecommunications.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICE... | 2301_80000730/security_1308 | vulntest/SSTSTestcases/2024/08/CVE-2024-35822/TestcaseRule-OpenHarmony-CVE-2024-35822.yara | YARA | unknown | 1,027 |
/*
* Copyright (c) 2024 Beijing University of Posts and Telecommunications.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENS... | 2301_80000730/security_1308 | vulntest/SSTSTestcases/2024/08/CVE-2024-35969/TestCaseRule-OpenHarmony-CVE-2024-35969.yara | YARA | unknown | 975 |
/*
* Copyright (c) 2024 Beijing University of Posts and Telecommunications.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICEN... | 2301_80000730/security_1308 | vulntest/SSTSTestcases/2024/08/CVE-2024-36008/TestCaseRule-CVE-2024-36008.yara | YARA | unknown | 1,041 |
/*
* Copyright (c) 2024 Beijing University of Posts and Telecommunications.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICEN... | 2301_80000730/security_1308 | vulntest/SSTSTestcases/2024/08/CVE-2024-36899/TestCaseRule-CVE-2024-36899.yara | YARA | unknown | 993 |
/*
* Copyright (c) 2024 Beijing University of Posts and Telecommunications.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICEN... | 2301_80000730/security_1308 | vulntest/SSTSTestcases/2024/08/CVE-2024-36901/TestCaseRule-CVE-2024-36901.yara | YARA | unknown | 1,149 |
/*
* Copyright (c) 2024 Beijing University of Posts and Telecommunications.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licens... | 2301_80000730/security_1308 | vulntest/SSTSTestcases/2024/08/CVE-2024-36904/CVE-2024-36904.yara | YARA | unknown | 940 |
/*
* Copyright (c) 2024 Beijing University of Posts and Telecommunications.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICE... | 2301_80000730/security_1308 | vulntest/SSTSTestcases/2024/08/CVE-2024-36939/TestCaseRule-CVE-2024-36939.yara | YARA | unknown | 1,065 |
/*
* Copyright (c) 2024 Beijing University of Posts and Telecommunications.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICEN... | 2301_80000730/security_1308 | vulntest/SSTSTestcases/2024/08/CVE-2024-36940/TestCaseRule-CVE-2024-36940.yara | YARA | unknown | 1,057 |
/*
* Copyright (c) 2024 Beijing University of Posts and Telecommunications.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICEN... | 2301_80000730/security_1308 | vulntest/SSTSTestcases/2024/08/CVE-2024-36941/TestCaseRule-CVE-2024-36941.yara | YARA | unknown | 1,104 |
/*
* Copyright (c) 2024 Beijing University of Posts and Telecommunications.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICEN... | 2301_80000730/security_1308 | vulntest/SSTSTestcases/2024/08/CVE-2024-4603/TestCaseRule-CVE-2024-4603.yara | YARA | unknown | 955 |
/*
* Copyright (c) 2024 Beijing University of Posts and Telecommunications.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENS... | 2301_80000730/security_1308 | vulntest/SSTSTestcases/2024/09/CVE-2024-25739/TestCaseRule-OpenHarmony-CVE-2024-25739.yara | YARA | unknown | 1,013 |
/*
* Copyright (c) 2024 Beijing University of Posts and Telecommunications.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICE... | 2301_80000730/security_1308 | vulntest/SSTSTestcases/2024/09/CVE-2024-26585/TestCaseRule-OpenHarmony-CVE-2024-26585.yara | YARA | unknown | 1,140 |
/*
* Copyright (c) 2024 Beijing University of Posts and Telecommunications.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICEN... | 2301_80000730/security_1308 | vulntest/SSTSTestcases/2024/09/CVE-2024-36270/TestCaseRule-OpenHarmony-CVE-2024-36270.yara | YARA | unknown | 1,094 |
/*
* Copyright (c) 2024 Beijing University of Posts and Telecommunications.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICE... | 2301_80000730/security_1308 | vulntest/SSTSTestcases/2024/09/CVE-2024-38564/TestCaseRule-CVE-2024-38564.yara | YARA | unknown | 1,030 |
/*
* Copyright (c) 2024 Beijing University of Posts and Telecommunications.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENS... | 2301_80000730/security_1308 | vulntest/SSTSTestcases/2024/09/CVE-2024-38577/TestCaseRule-CVE-2024-38577.yara | YARA | unknown | 1,028 |
/*
* Copyright (c) 2024 Beijing University of Posts and Telecommunications.
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LI... | 2301_80000730/security_1308 | vulntest/SSTSTestcases/2024/09/CVE-2024-38588/TestCaseRule-CVE-2024-38588.yara | YARA | unknown | 1,020 |
/*
* Copyright (c) 2024 Beijing University of Posts and Telecommunications.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICEN... | 2301_80000730/security_1308 | vulntest/SSTSTestcases/2024/09/CVE-2024-38601/TestCaseRule-OpenHarmony-CVE-2024-38601.yara | YARA | unknown | 1,083 |
/*
* Copyright (c) 2024 Beijing University of Posts and Telecommunications.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICEN... | 2301_80000730/security_1308 | vulntest/SSTSTestcases/2024/09/CVE-2024-5535/TestCaseRule-CVE-2024-5535.yara | YARA | unknown | 1,038 |
/*
*Copyright (c) 2024 Beijing University of Posts and Telecommunications.
*Licensed under the Apache License, Version 2.0 (the "License");
*you may not use this file except in compliance with the License.
*You may obtain a copy of the License at
*http://www.apache.org/licenses/LICENSE-2.0
*Unless require... | 2301_80000730/security_1308 | vulntest/SSTSTestcases/2024/09/OpenHarmony-CVE-2024-39467/TestCaseRule-OpenHarmony-CVE-2024-39467.yara | YARA | unknown | 1,184 |
/*
* Copyright (c) 2024 Beijing University of Posts and Telecommunications.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICE... | 2301_80000730/security_1308 | vulntest/SSTSTestcases/2024/10/CVE-2023-52672/TestCaseRule-CVE-2023-52672.yara | YARA | unknown | 1,029 |
/*
* Copyright (c) 2024 Beijing University of Posts and Telecommunications.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICEN... | 2301_80000730/security_1308 | vulntest/SSTSTestcases/2024/10/CVE-2024-35947/TestCaseRule-OpenHarmony-CVE-2024-35947.yara | YARA | unknown | 1,003 |
/*
* Copyright (c) 2024 Beijing University of Posts and Telecommunications.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICE... | 2301_80000730/security_1308 | vulntest/SSTSTestcases/2024/10/CVE-2024-40971/CVE-2024-40971.yara | YARA | unknown | 984 |
/*
* Copyright (c) 2024 Beijing University of Posts and Telecommunications.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICE... | 2301_80000730/security_1308 | vulntest/SSTSTestcases/2024/10/CVE-2024-41035/TestCaseRule-CVE-2024-41035.yara | YARA | unknown | 1,068 |
/*
* Copyright (c) 2024 Beijing University of Posts and Telecommunications.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/L... | 2301_80000730/security_1308 | vulntest/SSTSTestcases/2024/10/CVE-2024-41087/TestcaseRule-OpenHarmony-CVE-2024-41087.yara | YARA | unknown | 1,057 |
/* * Copyright (c) 2024 Beijing University of Posts and Telecommunications.
* * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* * http://www.apache.org/licenses/LICENSE-2.0
* * Unless ... | 2301_80000730/security_1308 | vulntest/SSTSTestcases/2024/10/CVE-2024-42236/TestcaseRule-CVE-2024-42236.yara | YARA | unknown | 1,305 |
/*
* Copyright (c) 2024 Beijing University of Posts and Telecommunications.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICEN... | 2301_80000730/security_1308 | vulntest/SSTSTestcases/2024/10/CVE_2024_42115/TestCaseRule-CVE-2024-42115.yara | YARA | unknown | 1,087 |
/*
*Copyright (c) 2024 Beijing University of Posts and Telecommunications.
*Licensed under the Apache License, Version 2.0 (the "License");
*you may not use this file except in compliance with the License.
*You may obtain a copy of the License at
*http://www.apache.org/licenses/LICENSE-2.0
*Unless require... | 2301_80000730/security_1308 | vulntest/SSTSTestcases/2024/10/OpenHarmony-CVE-2024-42114/TestCaseRule-OpenHarmony-CVE-2024-42114.yara | YARA | unknown | 1,113 |
/*
* Copyright (c) 2024 Beijing University of Posts and Telecommunications.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICE... | 2301_80000730/security_1308 | vulntest/SSTSTestcases/2024/12/CVE-2024-26684/TestCaseRule-OpenHarmony-CVE-2024-26684.yara | YARA | unknown | 1,016 |
import { hapTasks } from '@ohos/hvigor-ohos-plugin';
export default {
system: hapTasks, /* Built-in plugin of Hvigor. It cannot be modified. */
plugins:[] /* Custom plugin to extend the functionality of Hvigor. */
}
| 2301_80000730/security_1308 | vulntest/vultraining/entry/hvigorfile.ts | TypeScript | unknown | 234 |
import { appTasks } from '@ohos/hvigor-ohos-plugin';
export default {
system: appTasks, /* Built-in plugin of Hvigor. It cannot be modified. */
plugins:[] /* Custom plugin to extend the functionality of Hvigor. */
}
| 2301_80000730/security_1308 | vulntest/vultraining/hvigorfile.ts | TypeScript | unknown | 234 |
#include <bits/stdc++>
using namespace
int main()
{
cout << "hello, github " <<endl;
return 0;
} | 2301_80043048/psycho0816 | main.cpp | C++ | unknown | 112 |
# 使用官方的 Java 17-jdk-slim 作为基础镜像
FROM openjdk:17-jdk-slim
# 设置工作目录
WORKDIR /app
# 将构建好的 JAR 文件复制到容器中
COPY target/comment-service-0.0.1-SNAPSHOT.jar app.jar
# 暴露端口
EXPOSE 8088
# 运行应用程序
ENTRYPOINT ["java", "-jar", "app.jar"]
| 2301_79970562/student_union_backend | comment-service/Dockerfile | Dockerfile | unknown | 306 |
package org.commentservice;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class CommentServiceApplication {
public static void main(String[] args) {
SpringApplication.run(CommentServiceApplication.clas... | 2301_79970562/student_union_backend | comment-service/src/main/java/org/commentservice/CommentServiceApplication.java | Java | unknown | 339 |
package org.commentservice.controller;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.responses.ApiResponse;
import io.swagger.v3.oas.annotations.responses.ApiResponses;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.commentservice.entity.Comment;
import org.commentserv... | 2301_79970562/student_union_backend | comment-service/src/main/java/org/commentservice/controller/CommentController.java | Java | unknown | 6,743 |
package org.commentservice.dao;
import org.apache.ibatis.annotations.Mapper;
import org.commentservice.entity.Comment;
import java.util.List;
@Mapper
public interface CommentMapper {
int insert(Comment comment);//添加评论
int deleteById(long commentId); //删除评论
int update(Comment comment);//修改评论
List<Com... | 2301_79970562/student_union_backend | comment-service/src/main/java/org/commentservice/dao/CommentMapper.java | Java | unknown | 600 |
package org.commentservice.entity;
import io.swagger.v3.oas.annotations.media.Schema;
@Schema(name = "Comment",description = "评论实体")
public class Comment {
@Schema(name = "commentId",description = "评论id")
private long commentId;
@Schema(name = "houseId",description = "房源id")
private long houseId;
@Schema... | 2301_79970562/student_union_backend | comment-service/src/main/java/org/commentservice/entity/Comment.java | Java | unknown | 1,507 |
package org.commentservice.service;
import org.commentservice.entity.Comment;
import java.util.List;
public interface CommentService {
int add(Comment comment);
int deleteById(long commentId);
int update(Comment comment);
List<Comment> findByHouseId(long houseId);
List<Comment> findByTenantId(lon... | 2301_79970562/student_union_backend | comment-service/src/main/java/org/commentservice/service/CommentService.java | Java | unknown | 432 |
package org.commentservice.service.impl;
import org.apache.log4j.Logger;
import org.commentservice.dao.CommentMapper;
import org.commentservice.entity.Comment;
import org.commentservice.service.CommentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;... | 2301_79970562/student_union_backend | comment-service/src/main/java/org/commentservice/service/impl/CommentServiceImpl.java | Java | unknown | 2,710 |
package org.commentservice.utils;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
@Data
@Schema(description = "通用响应结果",name = "CommonResult")
public class CommonResult {
@Schema(name = "code",description = "响应状态码")
private int code; //响应状态码
@Schema(name = "msg",description = "响应信息")
... | 2301_79970562/student_union_backend | comment-service/src/main/java/org/commentservice/utils/CommonResult.java | Java | unknown | 1,039 |
package org.example.main;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
@SpringBootApplication
@EnableAspectJAutoProxy
public class MainApplication {
public static void ... | 2301_79970562/student_union_backend | src/main/java/org/example/main/MainApplication.java | Java | unknown | 411 |
package org.example.main.controller;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.responses.ApiResponse;
import io.swagger.v3.oas.annotations.responses.ApiResponses;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.example.main.utils.CommonResult;
import org.example.main... | 2301_79970562/student_union_backend | src/main/java/org/example/main/controller/AdminController.java | Java | unknown | 10,211 |
package org.example.main.controller;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.responses.ApiResponse;
import io.swagger.v3.oas.annotations.responses.ApiResponses;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.example.main.entity.Admin;
import org.example.main.enti... | 2301_79970562/student_union_backend | src/main/java/org/example/main/controller/CommentController.java | Java | unknown | 6,880 |
package org.example.main.controller;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.responses.ApiResponse;
import io.swagger.v3.oas.annotations.responses.ApiResponses;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.example.main.entity.Admin;
import org.example.main.utils... | 2301_79970562/student_union_backend | src/main/java/org/example/main/controller/FavoriteController.java | Java | unknown | 6,925 |
package org.example.main.controller;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.responses.ApiResponse;
import io.swagger.v3.oas.annotations.responses.ApiResponses;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.example.main.utils.CommonResult;
import org.example.main... | 2301_79970562/student_union_backend | src/main/java/org/example/main/controller/HouseController.java | Java | unknown | 9,381 |
package org.example.main.controller;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.responses.ApiResponse;
import io.swagger.v3.oas.annotations.responses.ApiResponses;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.example.main.entity.Admin;
import org.example.main.entit... | 2301_79970562/student_union_backend | src/main/java/org/example/main/controller/LandlordController.java | Java | unknown | 6,529 |
package org.example.main.controller;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.responses.ApiResponse;
import io.swagger.v3.oas.annotations.responses.ApiResponses;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.example.main.entity.House;
import org.example.main.ent... | 2301_79970562/student_union_backend | src/main/java/org/example/main/controller/RecordController.java | Java | unknown | 6,726 |
package org.example.main.controller;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.responses.ApiResponse;
import io.swagger.v3.oas.annotations.responses.ApiResponses;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.example.main.entity.House;
import org.example.main.utils... | 2301_79970562/student_union_backend | src/main/java/org/example/main/controller/RentalApplicationController.java | Java | unknown | 10,464 |
package org.example.main.controller;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.responses.ApiResponse;
import io.swagger.v3.oas.annotations.responses.ApiResponses;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.example.main.entity.Admin;
import org.example.main.entit... | 2301_79970562/student_union_backend | src/main/java/org/example/main/controller/TenantController.java | Java | unknown | 6,527 |
package org.example.main.dao;
import org.apache.ibatis.annotations.Mapper;
import org.example.main.entity.Admin;
import java.util.List;
@Mapper
public interface AdminMapper {
Admin findByUsername(String username);
int insert(Admin admin);
int updateById(Admin admin);
int deleteById(long adminId);
... | 2301_79970562/student_union_backend | src/main/java/org/example/main/dao/AdminMapper.java | Java | unknown | 432 |
package org.example.main.dao;
import org.apache.ibatis.annotations.Mapper;
import org.example.main.entity.Comment;
import java.util.List;
@Mapper
public interface CommentMapper {
int insert(Comment comment);//添加评论
int deleteById(long commentId); //删除评论
int update(Comment comment);//修改评论
List<Comment> ... | 2301_79970562/student_union_backend | src/main/java/org/example/main/dao/CommentMapper.java | Java | unknown | 594 |
package org.example.main.dao;
import org.apache.ibatis.annotations.Mapper;
import org.example.main.entity.Favorite;
import java.util.List;
@Mapper
public interface FavoriteMapper {
int insert(Favorite favorite);
int deleteById(long favoriteId);
int deleteByTenantAndHouse(long tenantId, long houseId);
... | 2301_79970562/student_union_backend | src/main/java/org/example/main/dao/FavoriteMapper.java | Java | unknown | 511 |
package org.example.main.dao;
import org.apache.ibatis.annotations.Mapper;
import org.example.main.entity.House;
import java.util.List;
@Mapper
public interface HouseMapper {
int insert(House house);
int update(House house);
int deleteById(long houseId);
House findById(long houseId);
List<House> f... | 2301_79970562/student_union_backend | src/main/java/org/example/main/dao/HouseMapper.java | Java | unknown | 564 |
package org.example.main.dao;
import org.apache.ibatis.annotations.Mapper;
import org.example.main.entity.Landlord;
import java.util.List;
@Mapper
public interface LandlordMapper {
int insert(Landlord landlord);//插入新房东
int deleteById(long landlordId);//根据ID删除
int updateById(Landlord landlord);//更新房东信息(不修改... | 2301_79970562/student_union_backend | src/main/java/org/example/main/dao/LandlordMapper.java | Java | unknown | 553 |
package org.example.main.dao;
import org.apache.ibatis.annotations.Mapper;
import org.example.main.entity.Record;
import java.util.List;
@Mapper
public interface RecordMapper {
int insert(Record record);
int deleteById(long recordId);
List<Record> findAll();
List<Record> findByTenantId(long tenantId... | 2301_79970562/student_union_backend | src/main/java/org/example/main/dao/RecordMapper.java | Java | unknown | 371 |
package org.example.main.dao;
import org.apache.ibatis.annotations.Mapper;
import org.example.main.entity.RentalApplication;
import java.util.List;
@Mapper
public interface RentalApplicationMapper {
int insert(RentalApplication application);
int updateStatus(long applicationId, String status);
RentalAppli... | 2301_79970562/student_union_backend | src/main/java/org/example/main/dao/RentalApplicationMapper.java | Java | unknown | 651 |
package org.example.main.dao;
import org.apache.ibatis.annotations.Mapper;
import org.example.main.entity.Tenant;
import java.util.List;
@Mapper
public interface TenantMapper {
int insert(Tenant tenant);
int deleteById(long tenantId);
int updateById(Tenant tenant);
Tenant findById(long tenantId);
... | 2301_79970562/student_union_backend | src/main/java/org/example/main/dao/TenantMapper.java | Java | unknown | 392 |
package org.example.main.entity;
import io.swagger.v3.oas.annotations.media.Schema;
@Schema(name = "Admin",description = "管理员实体")
public class Admin {
@Schema(name = "adminId",description = "管理员id")
private long adminId;
@Schema(name = "username",description = "管理员名")
private String username;
@Schema(nam... | 2301_79970562/student_union_backend | src/main/java/org/example/main/entity/Admin.java | Java | unknown | 1,696 |
package org.example.main.entity;
import io.swagger.v3.oas.annotations.media.Schema;
@Schema(name = "Comment",description = "评论实体")
public class Comment {
@Schema(name = "commentId",description = "评论id")
private long commentId;
@Schema(name = "houseId",description = "房源id")
private long houseId;
@Schema(n... | 2301_79970562/student_union_backend | src/main/java/org/example/main/entity/Comment.java | Java | unknown | 1,505 |
package org.example.main.entity;
import io.swagger.v3.oas.annotations.media.Schema;
import java.util.Date;
@Schema(name = "Favorite",description = "收藏实体")
public class Favorite {
@Schema(name = "favoriteId",description = "收藏id")
private long favoriteId;
@Schema(name = "tenantId",description = "租客id")
priva... | 2301_79970562/student_union_backend | src/main/java/org/example/main/entity/Favorite.java | Java | unknown | 1,092 |
package org.example.main.entity;
import io.swagger.v3.oas.annotations.media.Schema;
@Schema(name = "House",description = "房源实体")
public class House {
@Schema(name = "houseId",description = "房源id")
private long houseId;
@Schema(name = "title",description = "标题")
private String title;
@Schema(name = "descr... | 2301_79970562/student_union_backend | src/main/java/org/example/main/entity/House.java | Java | unknown | 2,506 |
package org.example.main.entity;
import io.swagger.v3.oas.annotations.media.Schema;
@Schema(name = "Landlord",description = "房东实体")
public class Landlord {
@Schema(name = "landlordId",description = "房东id")
private long landlordId;
@Schema(name = "username",description = "用户名")
private String username;
@S... | 2301_79970562/student_union_backend | src/main/java/org/example/main/entity/Landlord.java | Java | unknown | 1,240 |