Giter Club home page Giter Club logo

malicious-pdf's Introduction

Hi there friend! πŸ‘‹

πŸ‘‰ I'm a Cyber Security guy living in FunΓ€sdalen, Sweden 🌍

Here at GitHub you will find my contributions to various open-source projects and some quick ugly haacks of my own.

malicious-pdf's People

Contributors

jonaslejon avatar maggick avatar tonyarris avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

malicious-pdf's Issues

`test1.pdf` may not work

test1.pdf involves attempting to list \\HOST\, which fails because there's no share name mentioned. Mentioning a share name (even if it's non-existent) will correctly call the attacker.

PR #15

Python errors

Hi, I get some error messages while using your program. I use Python3.

python3 malicious-pdf.py mydomain.com
  File "malicious-pdf.py", line 607
    except IndexError, e:
                     ^
SyntaxError: invalid syntax

'Fixed' by except IndexError: in line 607 but again:

python3 malicious-pdf.py mydomain.com
Creating PDF files..
Traceback (most recent call last):
  File "malicious-pdf.py", line 613, in <module>
    create_malpdf("test1.pdf", '\\\\' + '\\\\'  + host + '\\\\' )
  File "malicious-pdf.py", line 533, in create_malpdf
    file.write('''
TypeError: a bytes-like object is required, not 'str'

Can you explain what the cause of these problems is?

Regards

Broken PDFs

The generated PDFs have an empty line or comments at the beginning. This leads to errors when opening the pdf files depending on the technology.

For example, if a program looks for %PDF-1. at the beginning of the PDF file, uploading or opening the file will fail.

Best Regards

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.