Giter VIP home page Giter VIP logo

file-tool's Introduction

功能一:混淆文件(目前仅实现该功能)

我们在上传文件到某网盘时,有时会因为文件内容违规,不让上传,或者是以前上传的文件,但现在不让下载了;

本工具作用是打乱文件字节顺序,与文件名,让网盘无法识别文件内容,以实现正常的上传下载。转换后文件组成部分为:文件名4k + 文件数据。

注:该工具一定意义上有加密作用,但不建议依赖其功能做加密用

API

  • 本程序由C#实现
  • 打乱或恢复文件顺序
FileMess.Mess(fileName, MessOption,delFile=false);

fileName为文件全路径; MessOption为枚举类型:

MessOption.MESS  //打乱顺序
MessOption.UNMESS //恢复

delFile是一个布尔值,true为处理后删除源文件,false为保留源文件

  • 整个文件夹操作
FileMess.MessDir(dirName, MessOption.MESS, delFile);

dirName为文件夹全路径,后面两个参数同上

最新版本二进制文件下载

https://github.com/hulala1021/file-tool/releases

file-tool's People

Contributors

clssw1004 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.