Skip to content

Commit

Permalink
Update cyberchef extension (raycast#10662)
Browse files Browse the repository at this point in the history
  • Loading branch information
mblode authored Feb 9, 2024
1 parent e9d8220 commit 4c2966a
Show file tree
Hide file tree
Showing 69 changed files with 376 additions and 71 deletions.
15 changes: 15 additions & 0 deletions extensions/cyberchef/.vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"files.exclude": {
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/CVS": true,
"**/.DS_Store": true,
"**/Thumbs.db": true,
"**/.trunk/*out": true,
"**/.retool_types/**": true,
"**/*tsconfig.json": true,
".cache": true,
"retool.config.json": true
}
}
8 changes: 7 additions & 1 deletion extensions/cyberchef/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# CyberChef Changelog

## [Initial Version] - 2024-02-02
## [v1.0.1] - 2024-02-09

### Added

- Added a new command "search" command which searches through 100% of the CybrChef tools on top of the list of commands I've extracted to the top level.

## [Initial Version] - 2024-02-02
191 changes: 191 additions & 0 deletions extensions/cyberchef/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions extensions/cyberchef/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@
],
"license": "MIT",
"commands": [
{
"name": "search",
"title": "Search CyberChef",
"description": "Search CyberChef",
"mode": "view"
},
{
"name": "to-base64",
"title": "Encode Base64",
Expand Down Expand Up @@ -412,6 +418,8 @@
],
"dependencies": {
"@raycast/api": "^1.66.2",
"@raycast/utils": "^1.12.4",
"node-fetch": "^3.3.2",
"query-string": "^8.1.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion extensions/cyberchef/src/add-line-numbers.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { runCyberchefRecipe } from "./utils";
import { runCyberchefRecipe } from "./utils/receipe-utils";
export default async function Command() {
await runCyberchefRecipe({ recipe: "Add_line_numbers()" });
}
2 changes: 1 addition & 1 deletion extensions/cyberchef/src/convert-area.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { runCyberchefRecipe } from "./utils";
import { runCyberchefRecipe } from "./utils/receipe-utils";
export default async function Command() {
await runCyberchefRecipe({ recipe: "Convert_area('Square metre (sq m)','Square metre (sq m)')" });
}
2 changes: 1 addition & 1 deletion extensions/cyberchef/src/convert-distance.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { runCyberchefRecipe } from "./utils";
import { runCyberchefRecipe } from "./utils/receipe-utils";
export default async function Command() {
await runCyberchefRecipe({ recipe: "Convert_distance('Nanometres (nm)','Nanometres (nm)')" });
}
2 changes: 1 addition & 1 deletion extensions/cyberchef/src/convert-mass.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { runCyberchefRecipe } from "./utils";
import { runCyberchefRecipe } from "./utils/receipe-utils";
export default async function Command() {
await runCyberchefRecipe({ recipe: "Convert_mass('Yoctogram (yg)','Yoctogram (yg)')" });
}
2 changes: 1 addition & 1 deletion extensions/cyberchef/src/convert-speed.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { runCyberchefRecipe } from "./utils";
import { runCyberchefRecipe } from "./utils/receipe-utils";
export default async function Command() {
await runCyberchefRecipe({ recipe: "Convert_speed('Metres per second (m/s)','Metres per second (m/s)')" });
}
2 changes: 1 addition & 1 deletion extensions/cyberchef/src/count-occurrences.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { runCyberchefRecipe } from "./utils";
import { runCyberchefRecipe } from "./utils/receipe-utils";
export default async function Command() {
await runCyberchefRecipe({ recipe: "Count_occurrences({'option':'Regex','string':''})" });
}
2 changes: 1 addition & 1 deletion extensions/cyberchef/src/css-beautify.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { runCyberchefRecipe } from "./utils";
import { runCyberchefRecipe } from "./utils/receipe-utils";
export default async function Command() {
await runCyberchefRecipe({ recipe: "CSS_Beautify('\\t')" });
}
2 changes: 1 addition & 1 deletion extensions/cyberchef/src/css-minify.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { runCyberchefRecipe } from "./utils";
import { runCyberchefRecipe } from "./utils/receipe-utils";
export default async function Command() {
await runCyberchefRecipe({ recipe: "CSS_Minify(false)" });
}
2 changes: 1 addition & 1 deletion extensions/cyberchef/src/csv-to-json.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { runCyberchefRecipe } from "./utils";
import { runCyberchefRecipe } from "./utils/receipe-utils";

export default async function Command() {
await runCyberchefRecipe({ recipe: "CSV_to_JSON(',','\\r\\n','Array of dictionaries')" });
Expand Down
2 changes: 1 addition & 1 deletion extensions/cyberchef/src/diff.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { runCyberchefRecipe } from "./utils";
import { runCyberchefRecipe } from "./utils/receipe-utils";
export default async function Command() {
await runCyberchefRecipe({ recipe: "Diff('\\n\\n','Character',true,true,false,false)" });
}
2 changes: 1 addition & 1 deletion extensions/cyberchef/src/escape-string.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { runCyberchefRecipe } from "./utils";
import { runCyberchefRecipe } from "./utils/receipe-utils";
export default async function Command() {
await runCyberchefRecipe({ recipe: "Escape_string('Special chars','Single',false,true,false)" });
}
2 changes: 1 addition & 1 deletion extensions/cyberchef/src/extract-dates.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { runCyberchefRecipe } from "./utils";
import { runCyberchefRecipe } from "./utils/receipe-utils";
export default async function Command() {
await runCyberchefRecipe({ recipe: "Extract_dates(false)" });
}
Loading

0 comments on commit 4c2966a

Please sign in to comment.