Comments (6)
You can explicitly include
/exclude
files in Cargo.toml
:
https://doc.rust-lang.org/cargo/reference/manifest.html#the-exclude-and-include-fields
from pelite.
Ok I uploaded v0.8.1 and v0.7.2 (for anyone still on v0.7 branch) which excludes the blob file. I hope I didn't screw up too bad.
Sorry for the delay, the current setup requires a bunch of changes not in the source tree before it can be published which caused me to procrastinate...
from pelite.
Ugh this dumb issue, it's a false positive which I already tried to make go away once.
That file contains like 200 PE samples for testing pelite against. These are fairly unusual samples because I wanted to see how pelite would fare and due to their unusual nature tend to get picked up by anti virus.
I'll add some XOR masking to make this not happen anymore.
Thanks for reporting!
from pelite.
It seems that Malwarebytes also flags multiple files from pelite/tests/tiny
Malwarebytes
www.malwarebytes.com
-Log Details-
Scan Date: 3/18/20
Scan Time: 11:29 AM
Log File: a9f20128-6935-11ea-abd7-309c23031b84.json
-Software Information-
Version: 4.1.0.56
Components Version: 1.0.848
Update Package Version: 1.0.20950
-System Information-
OS: Windows 10 (Build 18362.720)
CPU: x64
File System: NTFS
-Scan Summary-
Scan Type: Custom Scan
Scan Initiated By: Manual
Result: Completed
Objects Scanned: 1620745
Threats Detected: 9
Threats Quarantined: 0
Time Elapsed: 1 hr, 42 min, 1 sec
-Scan Options-
Memory: Enabled
Startup: Enabled
Filesystem: Enabled
Archives: Enabled
Rootkits: Enabled
Heuristics: Enabled
PUP: Detect
PUM: Detect
-Scan Details-
Process: 0
(No malicious items detected)
Module: 0
(No malicious items detected)
Registry Key: 0
(No malicious items detected)
Registry Value: 0
(No malicious items detected)
Registry Data: 0
(No malicious items detected)
Data Stream: 0
(No malicious items detected)
Folder: 0
(No malicious items detected)
File: 9
RiskWare.TinyPE.Gen, C:\USERS\CHASE\.CARGO\REGISTRY\SRC\GITHUB.COM-1ECC6299DB9EC823\PELITE-0.8.0\TESTS\TINY\TINY.296, No Action By User, 14346, 277589, 1.0.20950, , ame,
RiskWare.TinyPE.Gen, C:\USERS\CHASE\.CARGO\REGISTRY\SRC\GITHUB.COM-1ECC6299DB9EC823\PELITE-0.8.0\TESTS\TINY\TINY.IMPORT.161, No Action By User, 14346, 277589, 1.0.20950, , ame,
RiskWare.Exit, C:\USERS\CHASE\.CARGO\REGISTRY\SRC\GITHUB.COM-1ECC6299DB9EC823\PELITE-0.8.0\TESTS\TINY\TINY.C.1024, No Action By User, 8618, 144327, 1.0.20950, , ame,
RiskWare.TinyPE.Gen, C:\USERS\CHASE\.CARGO\REGISTRY\SRC\GITHUB.COM-1ECC6299DB9EC823\PELITE-0.8.0\TESTS\TINY\TINY.97, No Action By User, 14346, 277589, 1.0.20950, , ame,
RiskWare.TinyPE.Gen, C:\USERS\CHASE\.CARGO\REGISTRY\SRC\GITHUB.COM-1ECC6299DB9EC823\PELITE-0.8.0\TESTS\TINY\TINY.WEBDAV.133, No Action By User, 14346, 277589, 1.0.20950, , ame,
RiskWare.TinyPE.Gen, C:\USERS\CHASE\.CARGO\REGISTRY\SRC\GITHUB.COM-1ECC6299DB9EC823\PELITE-0.8.0\TESTS\TINY\TINY.128, No Action By User, 14346, 277589, 1.0.20950, , ame,
RiskWare.TinyPE.Gen, C:\USERS\CHASE\.CARGO\REGISTRY\SRC\GITHUB.COM-1ECC6299DB9EC823\PELITE-0.8.0\TESTS\TINY\TINY.168, No Action By User, 14346, 277589, 1.0.20950, , ame,
RiskWare.TinyPE.Gen, C:\USERS\CHASE\.CARGO\REGISTRY\SRC\GITHUB.COM-1ECC6299DB9EC823\PELITE-0.8.0\TESTS\TINY\TINY.IMPORT.133, No Action By User, 14346, 277589, 1.0.20950, , ame,
RiskWare.TinyPE.Gen, C:\USERS\CHASE\.CARGO\REGISTRY\SRC\GITHUB.COM-1ECC6299DB9EC823\PELITE-0.8.0\TESTS\TINY\TINY.IMPORT.209, No Action By User, 14346, 277589, 1.0.20950, , ame,
Physical Sector: 0
(No malicious items detected)
WMI: 0
(No malicious items detected)
(end)
from pelite.
You can choose to not ship those test files as part of the released crate to crates.io, which would probably avoid most issues.
from pelite.
@shepmaster That seems simple enough, I can probably just delete the file and cargo publish --allow-dirty
or is there a better way to ignore certain files for publishing?
from pelite.
Related Issues (20)
- fchghfhfghxd
- Sample does not work since last pull (master) HOT 2
- New version of pelite-macros broke 0.8.1 HOT 3
- no `pattern_attribute` in the root HOT 2
- Misaligned address when trying to access Import section of some PEs HOT 4
- crates.io lists pelite as a command when it is a library HOT 1
- Add pelite::Wrap to the top level crate documentation HOT 2
- Writing to imports HOT 3
- UNWIND_INFO and unwind_info() is broken HOT 1
- Unable to read PE version on Linux HOT 5
- VersionInfo.fixed() return None while version info does exist HOT 5
- 32-bit linux build broken HOT 2
- Please help me get the version of the file in string format HOT 1
- Incorrect module base address used for PE32 mapped images using ASLR
- Add .rustfmt.toml to repo + format code HOT 7
- [HELP] Example: getting RVA ? HOT 3
- Get &[u8] or Vec<u8>. HOT 2
- Not getting all exports HOT 1
- c:\windows\system32\imageres.dll resource/icon problem (and other win dlls with icons)
- Missing exports in kernel32.dll HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pelite.