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/LICE... | 2301_80000730/security | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | 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 | vulntest/SSTSTestcases/2024/12/CVE-2024-26684/TestCaseRule-OpenHarmony-CVE-2024-26684.yara | YARA | unknown | 1,016 |
import "console"
rule CVE_2024_54030
{
meta:
date = "2025-01-22"
openharmony_sa = ""
cve = "CVE-2024-54030"
// 这是你提取出来的那个文件名
affected_files = "/system/lib/libsoftbus_server.z.so"
strings:
// 特征:这是补丁中新增的字符串。
// 如果文件里有这句话,说明打过补丁了。
$fix = "lock list... | 2301_80000730/security | vulntest/SSTSTestcases/2025/01/CVE-2024-54030/CVE-2024-54030.yara | YARA | unknown | 576 |
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 | 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 | vulntest/vultraining/hvigorfile.ts | TypeScript | unknown | 234 |
<form name="punchout_form" method="post" action="https://openapi-sandbox.dl.alipaydev.com/gateway.do?charset=utf-8&method=alipay.trade.page.pay&sign=WXDgNH13hpLyRJCpEN8809kzbFVv2rra%2BXT458dLGDRMXuvrZmY%2FuqoPXCUGTDa6NkEFDDYEXmCKKLTgF8m5QC%2FL1HA8D2ABIS%2FnBGjw%2FzvPR9v3AZ20SFbjkYB05s8Mvh%2Bo%2FLb%2FW7%2FBoXbFRCxhY%2FJ... | 2203_75730178/s-pay-mall-mvc | docs/dev-ops/nginx/html/form.html | HTML | unknown | 1,161 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>商品下单支付页</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f7f7f7;
text-a... | 2203_75730178/s-pay-mall-mvc | docs/dev-ops/nginx/html/index.html | HTML | unknown | 3,728 |
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>S Pay Mall 商城登录页</title>
<style>
body {
font-family: Arial, sans-serif;
background-color: #f5f5f5;
display: flex;
... | 2203_75730178/s-pay-mall-mvc | docs/dev-ops/nginx/html/login.html | HTML | unknown | 3,681 |
package cn.bugstack.common.constants;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
/**
* @author Fuzhengwei bugstack.cn @小傅哥
* @description 通用的枚举值
* @create 2023-07-22 21:24
*/
public class Constants {
public final static String SPLIT = ",";
@AllArgsConstructo... | 2203_75730178/s-pay-mall-mvc | s-pay-mall-common/src/main/java/cn/bugstack/common/constants/Constants.java | Java | unknown | 1,226 |
package cn.bugstack.common.exception;
import lombok.Data;
import lombok.EqualsAndHashCode;
/**
* @author Fuzhengwei bugstack.cn @小傅哥
* @description 应用自定义异常
* @create 2024-02-25 12:17
*/
@EqualsAndHashCode(callSuper = true)
@Data
public class AppException extends RuntimeException {
private static final long s... | 2203_75730178/s-pay-mall-mvc | s-pay-mall-common/src/main/java/cn/bugstack/common/exception/AppException.java | Java | unknown | 1,198 |
package cn.bugstack.common.response;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Response<T> implements Serializable {
private static final long seria... | 2203_75730178/s-pay-mall-mvc | s-pay-mall-common/src/main/java/cn/bugstack/common/response/Response.java | Java | unknown | 430 |
package cn.bugstack.common.weixin;
import com.thoughtworks.xstream.annotations.XStreamAlias;
@XStreamAlias("xml")
public class MessageTextEntity {
@XStreamAlias("ToUserName")
private String toUserName;
@XStreamAlias("FromUserName")
private String fromUserName;
@XStreamAlias("CreateTime")
pr... | 2203_75730178/s-pay-mall-mvc | s-pay-mall-common/src/main/java/cn/bugstack/common/weixin/MessageTextEntity.java | Java | unknown | 2,285 |
package cn.bugstack.common.weixin;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
public class SignatureUtil {
/**
* 验证签名
*/
public static boolean check(String token, String signature, String timestamp, String nonce) {
String[] arr = new String[]{token, ti... | 2203_75730178/s-pay-mall-mvc | s-pay-mall-common/src/main/java/cn/bugstack/common/weixin/SignatureUtil.java | Java | unknown | 2,258 |
package cn.bugstack.common.weixin;
import com.thoughtworks.xstream.XStream;
import com.thoughtworks.xstream.core.util.QuickWriter;
import com.thoughtworks.xstream.io.HierarchicalStreamWriter;
import com.thoughtworks.xstream.io.xml.DomDriver;
import com.thoughtworks.xstream.io.xml.PrettyPrintWriter;
import com.thoughtw... | 2203_75730178/s-pay-mall-mvc | s-pay-mall-common/src/main/java/cn/bugstack/common/weixin/XmlUtil.java | Java | unknown | 5,164 |
/**
* @description
* @author Fuzhengwei bugstack.cn @小傅哥
* @create 2024-09-27 17:01
*/
package cn.bugstack.common.weixin; | 2203_75730178/s-pay-mall-mvc | s-pay-mall-common/src/main/java/cn/bugstack/common/weixin/package-info.java | Java | unknown | 131 |
package cn.bugstack.dao;
import cn.bugstack.domain.po.PayOrder;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;
@Mapper
public interface IOrderDao {
void insert(PayOrder payOrder);
PayOrder queryUnPayOrder(PayOrder payOrder);
void updateOrderPayInfo(PayOrder payOrder);
void ch... | 2203_75730178/s-pay-mall-mvc | s-pay-mall-dao/src/main/java/cn/bugstack/dao/IOrderDao.java | Java | unknown | 498 |
/**
* @description
* @author Fuzhengwei bugstack.cn @小傅哥
* @create 2024-09-27 17:00
*/
package cn.bugstack.dao; | 2203_75730178/s-pay-mall-mvc | s-pay-mall-dao/src/main/java/cn/bugstack/dao/package-info.java | Java | unknown | 121 |
/**
* @description
* @author Fuzhengwei bugstack.cn @小傅哥
* @create 2024-09-27 17:00
*/
package cn.bugstack.domain; | 2203_75730178/s-pay-mall-mvc | s-pay-mall-domain/src/main/java/cn/bugstack/domain/package-info.java | Java | unknown | 124 |
package cn.bugstack.domain.po;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.math.BigDecimal;
import java.util.Date;
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class PayOrder {
private Long id;
private String userI... | 2203_75730178/s-pay-mall-mvc | s-pay-mall-domain/src/main/java/cn/bugstack/domain/po/PayOrder.java | Java | unknown | 618 |
package cn.bugstack.domain.req;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class ShopCartReq {
private String userId;
private String productId;
}
| 2203_75730178/s-pay-mall-mvc | s-pay-mall-domain/src/main/java/cn/bugstack/domain/req/ShopCartReq.java | Java | unknown | 287 |
package cn.bugstack.domain.req;
import lombok.*;
/**
* @author Fuzhengwei bugstack.cn @小傅哥
* @description 获取微信登录二维码请求对象
* @create 2024-09-28 13:36
*/
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class WeixinQrCodeReq {
private int expire_seconds;
private String action_name;
private Ac... | 2203_75730178/s-pay-mall-mvc | s-pay-mall-domain/src/main/java/cn/bugstack/domain/req/WeixinQrCodeReq.java | Java | unknown | 1,139 |
package cn.bugstack.domain.res;
import cn.bugstack.common.constants.Constants;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class PayOrderRes {
private String userId;
private String o... | 2203_75730178/s-pay-mall-mvc | s-pay-mall-domain/src/main/java/cn/bugstack/domain/res/PayOrderRes.java | Java | unknown | 413 |
package cn.bugstack.domain.res;
import lombok.Data;
/**
* @author Fuzhengwei bugstack.cn @小傅哥
* @description 获取微信登录二维码响应对象
* @create 2024-09-28 13:36
*/
@Data
public class WeixinQrCodeRes {
private String ticket;
private Long expire_seconds;
private String url;
}
| 2203_75730178/s-pay-mall-mvc | s-pay-mall-domain/src/main/java/cn/bugstack/domain/res/WeixinQrCodeRes.java | Java | unknown | 316 |
package cn.bugstack.domain.res;
import lombok.Data;
/**
* @author Fuzhengwei bugstack.cn @小傅哥
* @description 获取 Access token DTO 对象
* @create 2024-09-28 13:32
*/
@Data
public class WeixinTokenRes {
private String access_token;
private int expires_in;
private String errcode;
private String errmsg;... | 2203_75730178/s-pay-mall-mvc | s-pay-mall-domain/src/main/java/cn/bugstack/domain/res/WeixinTokenRes.java | Java | unknown | 338 |
package cn.bugstack.domain.vo;
import lombok.Data;
import java.math.BigDecimal;
@Data
public class ProductVO {
/** 商品ID */
private String productId;
/** 商品名称 */
private String productName;
/** 商品描述 */
private String productDesc;
/** 商品价格 */
private BigDecimal price;
}
| 2203_75730178/s-pay-mall-mvc | s-pay-mall-domain/src/main/java/cn/bugstack/domain/vo/ProductVO.java | Java | unknown | 334 |
package cn.bugstack.domain.vo;
import java.util.HashMap;
import java.util.Map;
/**
* @author Fuzhengwei bugstack.cn @小傅哥
* @description 微信模板消息
* @create 2024-09-28 13:38
*/
public class WeixinTemplateMessageVO {
private String touser = "or0Ab6ivwmypESVp_bYuk92T6SvU";
private String template_id = "GLlAM-Q... | 2203_75730178/s-pay-mall-mvc | s-pay-mall-domain/src/main/java/cn/bugstack/domain/vo/WeixinTemplateMessageVO.java | Java | unknown | 2,443 |
package cn.bugstack.service;
import java.io.IOException;
/**
* @author Fuzhengwei bugstack.cn @小傅哥
* @description 微信服务
* @create 2024-09-28 13:44
*/
public interface ILoginService {
String createQrCodeTicket() throws Exception;
String checkLogin(String ticket);
void saveLoginState(String ticket, St... | 2203_75730178/s-pay-mall-mvc | s-pay-mall-service/src/main/java/cn/bugstack/service/ILoginService.java | Java | unknown | 370 |
package cn.bugstack.service;
import cn.bugstack.domain.req.ShopCartReq;
import cn.bugstack.domain.res.PayOrderRes;
import java.util.List;
/**
* @author Fuzhengwei bugstack.cn @小傅哥
* @description 订单服务接口
* @create 2024-09-29 09:43
*/
public interface IOrderService {
PayOrderRes createOrder(ShopCartReq shopCar... | 2203_75730178/s-pay-mall-mvc | s-pay-mall-service/src/main/java/cn/bugstack/service/IOrderService.java | Java | unknown | 552 |
package cn.bugstack.service.impl;
import cn.bugstack.common.constants.Constants;
import cn.bugstack.dao.IOrderDao;
import cn.bugstack.domain.po.PayOrder;
import cn.bugstack.domain.req.ShopCartReq;
import cn.bugstack.domain.res.PayOrderRes;
import cn.bugstack.domain.vo.ProductVO;
import cn.bugstack.service.IOrderServic... | 2203_75730178/s-pay-mall-mvc | s-pay-mall-service/src/main/java/cn/bugstack/service/impl/OrderServiceImpl.java | Java | unknown | 5,632 |
package cn.bugstack.service.impl;
import cn.bugstack.domain.vo.WeixinTemplateMessageVO;
import cn.bugstack.domain.req.WeixinQrCodeReq;
import cn.bugstack.domain.res.WeixinQrCodeRes;
import cn.bugstack.domain.res.WeixinTokenRes;
import cn.bugstack.service.ILoginService;
import cn.bugstack.service.weixin.IWeixinApiServi... | 2203_75730178/s-pay-mall-mvc | s-pay-mall-service/src/main/java/cn/bugstack/service/impl/WeixinLoginServiceImpl.java | Java | unknown | 3,802 |
/**
* @description
* @author Fuzhengwei bugstack.cn @小傅哥
* @create 2024-09-27 17:00
*/
package cn.bugstack.service; | 2203_75730178/s-pay-mall-mvc | s-pay-mall-service/src/main/java/cn/bugstack/service/package-info.java | Java | unknown | 125 |
package cn.bugstack.service.rpc;
import cn.bugstack.domain.vo.ProductVO;
import org.springframework.stereotype.Service;
import java.math.BigDecimal;
@Service
public class ProductRPC {
public ProductVO queryProductByProductId(String productId){
ProductVO productVO = new ProductVO();
productVO.set... | 2203_75730178/s-pay-mall-mvc | s-pay-mall-service/src/main/java/cn/bugstack/service/rpc/ProductRPC.java | Java | unknown | 541 |
package cn.bugstack.service.weixin;
import cn.bugstack.domain.vo.WeixinTemplateMessageVO;
import cn.bugstack.domain.req.WeixinQrCodeReq;
import cn.bugstack.domain.res.WeixinQrCodeRes;
import cn.bugstack.domain.res.WeixinTokenRes;
import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.GET;
import retr... | 2203_75730178/s-pay-mall-mvc | s-pay-mall-service/src/main/java/cn/bugstack/service/weixin/IWeixinApiService.java | Java | unknown | 2,264 |
# 基础镜像
FROM openjdk:8-jre-slim
# 作者
MAINTAINER xiaofuge
# 配置
ENV PARAMS=""
# 时区
ENV TZ=PRC
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
# 添加应用
ADD target/s-pay-mall-mvc-app.jar /s-pay-mall-mvc-app.jar
ENTRYPOINT ["sh","-c","java -jar $JAVA_OPTS /s-pay-mall-mvc-app.jar $PARAMS"] | 2203_75730178/s-pay-mall-mvc | s-pay-mall-web/Dockerfile | Dockerfile | unknown | 345 |
# 普通镜像构建,随系统版本构建 amd/arm
docker build -t fuzhengwei/s-pay-mall-mvc-app:1.0 -f ./Dockerfile .
# 兼容 amd、arm 构建镜像
# docker buildx build --load --platform liunx/amd64,linux/arm64 -t xiaofuge/xfg-frame-archetype-app:1.0 -f ./Dockerfile . --push | 2203_75730178/s-pay-mall-mvc | s-pay-mall-web/build.sh | Shell | unknown | 282 |
package cn.bugstack;
import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;
/**
* @author Fuzhengwei bugstack.cn @小傅哥
... | 2203_75730178/s-pay-mall-mvc | s-pay-mall-web/src/main/java/cn/bugstack/Application.java | Java | unknown | 573 |
package cn.bugstack.config;
import com.alipay.api.AlipayClient;
import com.alipay.api.DefaultAlipayClient;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
@Configuration
@... | 2203_75730178/s-pay-mall-mvc | s-pay-mall-web/src/main/java/cn/bugstack/config/AliPayConfig.java | Java | unknown | 855 |
package cn.bugstack.config;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
@Data
@ConfigurationProperties(prefix = "alipay", ignoreInvalidFields = true)
public class AliPayConfigProperties {
// 「沙箱环境」应用ID - 您的APPID,收款账号既是你的APPID对应支付宝账号。获取地址;https://open.alipay.com... | 2203_75730178/s-pay-mall-mvc | s-pay-mall-web/src/main/java/cn/bugstack/config/AliPayConfigProperties.java | Java | unknown | 1,147 |
package cn.bugstack.config;
import cn.bugstack.listener.OrderPaySuccessListener;
import com.google.common.cache.Cache;
import com.google.common.cache.CacheBuilder;
import com.google.common.eventbus.EventBus;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration... | 2203_75730178/s-pay-mall-mvc | s-pay-mall-web/src/main/java/cn/bugstack/config/GuavaConfig.java | Java | unknown | 1,030 |
package cn.bugstack.config;
import cn.bugstack.service.weixin.IWeixinApiService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import retrofit2.Retrofit;
import retrofit2.converter.jackson.JacksonConverterFactory;
@Sl... | 2203_75730178/s-pay-mall-mvc | s-pay-mall-web/src/main/java/cn/bugstack/config/Retrofit2Config.java | Java | unknown | 791 |
package cn.bugstack.controller;
import cn.bugstack.common.constants.Constants;
import cn.bugstack.common.response.Response;
import cn.bugstack.controller.dto.CreatePayRequestDTO;
import cn.bugstack.domain.req.ShopCartReq;
import cn.bugstack.domain.res.PayOrderRes;
import cn.bugstack.service.IOrderService;
import com.a... | 2203_75730178/s-pay-mall-mvc | s-pay-mall-web/src/main/java/cn/bugstack/controller/AliPayController.java | Java | unknown | 4,779 |
package cn.bugstack.controller;
import cn.bugstack.common.constants.Constants;
import cn.bugstack.common.response.Response;
import cn.bugstack.service.ILoginService;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.lang3.StringUtils;
import org.springframework.web.bind.annotation.*;
import javax.annotation... | 2203_75730178/s-pay-mall-mvc | s-pay-mall-web/src/main/java/cn/bugstack/controller/LoginController.java | Java | unknown | 2,906 |
package cn.bugstack.controller;
import cn.bugstack.common.weixin.MessageTextEntity;
import cn.bugstack.common.weixin.SignatureUtil;
import cn.bugstack.common.weixin.XmlUtil;
import cn.bugstack.service.ILoginService;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.lang3.StringUtils;
import org.springframewo... | 2203_75730178/s-pay-mall-mvc | s-pay-mall-web/src/main/java/cn/bugstack/controller/WeixinPortalController.java | Java | unknown | 3,952 |
package cn.bugstack.controller;
/**
* @author Fuzhengwei bugstack.cn @小傅哥
* @description
* @create 2024-09-27 16:59
*/
public class XxxController {
}
| 2203_75730178/s-pay-mall-mvc | s-pay-mall-web/src/main/java/cn/bugstack/controller/XxxController.java | Java | unknown | 161 |
package cn.bugstack.controller.dto;
import lombok.Data;
@Data
public class CreatePayRequestDTO {
// 用户ID 【实际产生中会通过登录模块获取,不需要透彻】
private String userId;
// 产品编号
private String productId;
}
| 2203_75730178/s-pay-mall-mvc | s-pay-mall-web/src/main/java/cn/bugstack/controller/dto/CreatePayRequestDTO.java | Java | unknown | 263 |
package cn.bugstack.job;
import cn.bugstack.service.IOrderService;
import com.alipay.api.AlipayClient;
import com.alipay.api.domain.AlipayTradeQueryModel;
import com.alipay.api.request.AlipayTradeQueryRequest;
import com.alipay.api.response.AlipayTradeQueryResponse;
import lombok.extern.slf4j.Slf4j;
import org.springf... | 2203_75730178/s-pay-mall-mvc | s-pay-mall-web/src/main/java/cn/bugstack/job/NoPayNotifyOrderJob.java | Java | unknown | 1,885 |
package cn.bugstack.job;
import cn.bugstack.service.IOrderService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;
import javax.annotation.Resource;
import java.util.List;
/**
* @author Fuzhengwei bugstack.cn @小傅哥
* @des... | 2203_75730178/s-pay-mall-mvc | s-pay-mall-web/src/main/java/cn/bugstack/job/TimeoutCloseOrderJob.java | Java | unknown | 1,298 |
package cn.bugstack.listener;
import com.google.common.eventbus.Subscribe;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;
/**
* @author Fuzhengwei bugstack.cn @小傅哥
* @description 支付成功回调消息
* @create 2024-09-30 09:52
*/
@Slf4j
@Component
public class OrderPaySuccessListener {
... | 2203_75730178/s-pay-mall-mvc | s-pay-mall-web/src/main/java/cn/bugstack/listener/OrderPaySuccessListener.java | Java | unknown | 563 |
/*
* 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_1307 | 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_1307 | 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_1307 | 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_1307 | 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_1307 | 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_1307 | 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_1307 | 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_1307 | 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_1307 | 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_1307 | 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_1307 | 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_1307 | 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_1307 | 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_1307 | 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_1307 | 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_1307 | 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_1307 | 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_1307 | 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_1307 | 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_1307 | 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_1307 | 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_1307 | 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_1307 | 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_1307 | 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_1307 | 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_1307 | 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_1307 | 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_1307 | 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_1307 | 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_1307 | 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_1307 | 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_1307 | 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_1307 | 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_1307 | 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_1307 | 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_1307 | 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_1307 | 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_1307 | vulntest/SSTSTestcases/2024/09/CVE-2024-38577/TestCaseRule-CVE-2024-38577.yara | YARA | unknown | 1,028 |