Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement multiple example files #174

Open
d-Rickyy-b opened this issue Feb 12, 2020 · 11 comments
Open

Implement multiple example files #174

d-Rickyy-b opened this issue Feb 12, 2020 · 11 comments
Labels
Difficulty: Easy This is an easy issue which should not take a lot of time enhancement New feature or request good first issue Good for newcomers hacktoberfest Label for issues suited for the Hacktoberfest event help wanted Extra attention is needed

Comments

@d-Rickyy-b
Copy link
Owner

Currently there is only one example file. Users might not fully understand the capability of the tool and might get scared, because it involves setting up a database.

At least one other example file without the need of a database and maybe one with the usage of sqlite could help them.

@d-Rickyy-b d-Rickyy-b added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers hacktoberfest Label for issues suited for the Hacktoberfest event Difficulty: Easy This is an easy issue which should not take a lot of time labels Feb 12, 2020
@AR4Z
Copy link

AR4Z commented Mar 13, 2020

Hi, I'm interested in contributing. Could I help to solver this?

@d-Rickyy-b
Copy link
Owner Author

Hi @AR4Z - I'd be very happy about any help. Feel free to provide some different example files using different analyzers/actions, maybe also explaining the feature of combining analyzers:

https://github.com/d-Rickyy-b/pastepwn/blob/master/pastepwn/analyzers/basicanalyzer.py#L56-L65

One can use (analyzer1 or analyzer2) to get a new analyzer object that matches when any of both analyzers match.

You can also show how a few of the more useful actions can be used.

If you have any questions, feel free to contact me.

@Ni3dzwi3dz
Copy link

Hi, is it still open?

@d-Rickyy-b
Copy link
Owner Author

Hi @Ni3dzwi3dz and sorry. I totally missed your message. Yes it's still open. We currently have only a single example file and we could use a few others as well.

@AnudeepGunukula
Copy link

Hi, i am interested in this project. I have started working on it. I will try to implement new examples.

@franknkurunziza
Copy link

Hi, is it still open?

@ghost
Copy link

ghost commented Apr 14, 2023

Can an example file be similar to the existing one, but instead provides a pre-existing database file with the code? This way, the user doesn't have to create/setup a db.

@Zhreyu
Copy link

Zhreyu commented Apr 20, 2023

Hey, I am interested to contribute for this project, please guide me as I am new to this

@d-Rickyy-b
Copy link
Owner Author

Hi @dishb, @Zhreyu,

thank you for your interest. There are no real requirements to this issue besides creativity. The tool is built in a very simple way.

You instantiate the Pastepwn class, you create some analyzers, which scan the pastes. Then you create some actions which are supplied to the analyzers so they will be executed when a paste matches the analyzer's "requirements".

The current example file does a good job of detailing this. Now a few simpler ones would be appreciated. Maybe something like: log_example.py which only logs each paste to the console stdout. Or a json_example.py which stores every paste as json on the disk. Then maybe some more interesting combinations of e.g. storing pastes containing credit card data on disk etc.

Feel free to check the list of implemented analyzers and actions.

@garvender004
Copy link

Hey, is it still open .
If it is still open i would like to contribute.

@d-Rickyy-b
Copy link
Owner Author

Please don't ask if it is still open. As long as the issue is displayed as "open", it obviously is still open. Feel free to work on it. There's a lot of commentary above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Difficulty: Easy This is an easy issue which should not take a lot of time enhancement New feature or request good first issue Good for newcomers hacktoberfest Label for issues suited for the Hacktoberfest event help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

7 participants