首页
学习
活动
专区
圈层
工具
发布
    • 综合排序
    • 最热优先
    • 最新优先
    时间不限
  • 来自专栏FreeBuf

    CISA发出警告:Chrome和Excel解析库存在被利用的漏洞

    其中一个是最近修补的Google Chrome中的漏洞,另一个是影响开源Perl库“Spreadsheet::ParseExcel”的漏洞,该库被用于读取Excel文件中的信息。 CVE-2023-7101:Spreadsheet::ParseExcel远程代码执行漏洞。 CVE-2023-7101 CVE-2023-7101是一个影响Spreadsheet::ParseExcel的关键漏洞,而Spreadsheet::ParseExcel是用来解析Excel文件的Perl 目前,Spreadsheet::ParseExcel软件版本是0.65的用户可能会受到这一漏洞的影响。 在无法立即更新的情况下,建议用户采取缓解措施,例如限制文件上传或禁用与Spreadsheet::ParseExcel相关的功能。

    51710编辑于 2024-01-06
  • 来自专栏IT云清

    (13)SpringBoot使用poi上传excel文件

    pageEncoding="utf-8" %>

       <form method="POST" enctype="multipart/form-data" action="/excel/<em>parseExcel</em> LoggerFactory.getLogger("");    @Autowired    private ExcelService excelService;    @RequestMapping(value = "<em>parseExcel</em> ",method = RequestMethod.POST)    public String parseExcel(MultipartFile file){        try {             String ss = excelService.parseExcel(file);            return ss;        }catch (Exception ex){                /**     * 解析Excel文件     * @param file     * @return     * @throws Exception     */    String parseExcel

    2.5K10编辑于 2022-05-07
  • 来自专栏啄木鸟软件测试

    自动化测试如何解析excel文件?

    """   ------------------------------------   @Time : 2019/5/13 18:00   @Auth : linux超   @File : ParseExcel.py import Font   from openpyxl.styles.colors import BLACK   from collections import namedtuple   class ParseExcel column must be type int')   except Exception as e:   raise e   if __name__ == '__main__':   pe = ParseExcel --   """   import xlrd   from xlutils import copy   from collections import namedtuple   class ParseExcel ------------------------------------   """   import pandas as pd   class ParseExcel(object):   def

    1.1K20发布于 2019-12-12
  • 来自专栏23号杂货铺

    Springboot中Excel的解析操作(一)

    } InputStream inputStream = file.getInputStream(); List<List<Object>> list = HandleFile.parseExcel HandleFile工具类 /** * 解析Excel文件 * * @param in * @param fileName */ public static List<List<Object>> parseExcel

    3.5K40发布于 2019-09-27
  • 来自专栏python3

    自动化测试如何解析excel文件?

    1开始计算的 封装代码 """ ------------------------------------ @Time : 2019/5/13 18:00 @Auth : linux超 @File : ParseExcel.py type int') except Exception as e: raise e if __name__ == '__main__': pe = ParseExcel raise TypeError('row and column must be type int') if __name__ == '__main__': pe = ParseExcel --------------- """ import xlrd from xlutils import copy from collections import namedtuple class ParseExcel ------------------------------------ """ import pandas as pd class ParseExcel(object): def __init

    98010发布于 2020-01-16
  • 来自专栏前端小叙

    nodejs的xlsx模块批量解析与导出excel数据表简单使用

    实现如下: const fs = require('fs'); const path = require('path'); const xlsx = require('xlsx'); function parseExcel toLowerCase(); if(fileExtension === 'xlsx' || fileExtension === 'xls' ){ // 批量解析文件 parseExcel

    2.5K30发布于 2020-03-06
  • 来自专栏java开发的那点事

    EasyPOI解析Excel文件

    String XLS = "xls"; private static final String XLSX = "xlsx"; public static List<T0079J> parseExcel File file = new File("C:\\File\\2020-11\\1.xls"); List<T0079J> t0079JList = ExcelUtil.parseExcel

    2.1K21发布于 2020-11-27
  • 来自专栏全栈程序员必看

    自动化测试 数据驱动(自动化测试解决数据错误)

    迈克尔 3 库里 斯蒂芬 创建ExcelUtil.py文件: # -*- coding: UTF-8 -*- from openpyxl import load_workbook class ParseExcel dataList if __name__ =='__main__': excelPath = u"测试数据.xlsx" sheetName = u"搜索数据表" pe = ParseExcel webdriver import unittest import time import logging import traceback import ddt from ExcelUtil import ParseExcel report.log', # 打开日志文件的方式 filemode='w' ) excelPath = u"测试数据.xlsx" sheetName = u"搜索数据表" excel = ParseExcel

    91510编辑于 2022-08-02
  • 来自专栏Unity3D

    【Unity3D日常】使用Unity3D读取Json、XML、Excel文件

    System.IO; using System.Data; public class Parse_Excel : MonoBehaviour { void Start() { ParseExcel (); } public void ParseExcel() { //获取到Json文件的路径 string filePath = Application.dataPath

    3.8K20编辑于 2022-08-07
  • 来自专栏python全栈布道师

    使用python读取和写入Excel

    那里有一个从Excel中提取中药方子中各个中药剂量最大值和最小值的案例:地址在 https://github.com/CheungChanDevCoder/pythonTools/blob/master/parseExcel

    2.3K60发布于 2018-05-18
  • 来自专栏johnhuster

    POI读取excel某个单元格内容

    Row.CREATE_NULL_AS_BLANK); //可以根据需要设置需要的单元格类型 cell.setCellType(Cell.CELL_TYPE_STRING); Object value = parseExcel

    1.2K20编辑于 2022-03-28
  • 来自专栏测试学习之路

    ui自动化Python版本

    在common目录中创建ParseExcel.py文件。 import logging from openpyxl import load_workbook from config.conf import cm class ParseExcel(object row_values)) return all_values if __name__ == '__main__': key="lp_loginUsername" exe=ParseExcel 读取方式获取元素定位方式,name,id,xpath等 def getlocatorBy(self,key): global locatorBy excel = ParseExcel 通过读取excel中的数据获取元素定位值 def getlocatorValue(self,key): global locatorValue excel = ParseExcel

    1.9K240编辑于 2022-02-11
  • 来自专栏IT云清

    Lock wait timeout exceeded; try restarting transaction

    logger.info("==========>删除历史数据"); List<IndustrialOutput> industrialOutputList = this.parseExcel

    4.1K20发布于 2019-01-22
  • 来自专栏cwl_Java

    Java工具集-Excel指定文件名称读取工具类

    FileInputStream(excelFile); workbook = getWorkbook(inputStream, fileType); return parseExcel param workbook * @param sheetName * @return */ private static Map<String, Object> parseExcel

    2.5K10发布于 2020-05-01
  • 来自专栏大师级码师

    java POI读取Excel文件

    class ExcelDemo { private static final Log log = LogFactory.getLog(ExcelDemo.class); public List parseExcel

    1.3K00发布于 2021-09-21
  • 来自专栏高级工程司

    java POI读取Excel文件

    class ExcelDemo { private static final Log log = LogFactory.getLog(ExcelDemo.class); public List parseExcel

    1.5K00发布于 2021-09-22
  • 来自专栏23号杂货铺

    Springboot中Excel的下载操作(二)

    HandleFile工具类 /** * 解析Excel文件 * * @param in * @param fileName */ public static List<List<Object>> parseExcel

    1.1K50发布于 2019-09-27
  • 来自专栏测试开发技术

    月薪40K+银行测试经理,自动化测试实践经验分享

    的方法 import logging from openpyxl import load_workbook logger = logging.getLogger("读取excel") class ParseExcel import allure import pytest from common.get_data_url import get_data_url from common.parse_excel import ParseExcel logger.info("Query_Related_Achievements测试数据的路径是:{}".format(Query_Related_Achievements_dir)) parse = ParseExcel

    94171发布于 2021-08-12
  • 来自专栏大刚测试开发实战

    Pytest测试框架一键动态切换测试环境实现思路及方案

    os.path.realpath(__file__))))) import allure from fixture.jc_fixture import * from common.parse_excel import ParseExcel

    1.8K31编辑于 2022-11-14
  • 如何开发门店业绩上报管理系统中的商品数据板块?(附架构图+流程图+代码参考)

    xlsx 解析文件,生成 product_import_rows// 伪代码:async function handleFileUpload(file, userId) { const rows = parseExcel

    39410编辑于 2025-08-22
领券