-
-
Notifications
You must be signed in to change notification settings - Fork 198
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 54d26cf
Showing
76 changed files
with
16,655 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
> 1% | ||
last 2 versions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[*.{js,jsx,ts,tsx,vue}] | ||
indent_style = space | ||
indent_size = 2 | ||
end_of_line = lf | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
max_line_length = 100 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
module.exports = { | ||
root: true, | ||
env: { | ||
node: true, | ||
}, | ||
extends: [ | ||
'plugin:vue/recommended', | ||
'@vue/airbnb', | ||
], | ||
rules: { | ||
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off', | ||
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off', | ||
'no-plusplus': 'off', | ||
}, | ||
parserOptions: { | ||
parser: 'babel-eslint', | ||
}, | ||
overrides: [ | ||
{ | ||
files: [ | ||
'**/__tests__/*.{j,t}s?(x)', | ||
], | ||
env: { | ||
mocha: true, | ||
}, | ||
}, | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Set the default behavior, in case people don't have core.autocrlf set. | ||
* text eol=lf | ||
|
||
# Denote all files that are truly binary and should not be modified. | ||
*.png binary | ||
*.jpg binary | ||
*.webp binary |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
## Starkiller Version | ||
|
||
|
||
## OS Information | ||
|
||
|
||
## Expected behavior and description of the error, including any actions taken immediately prior to the error. The more detail the better. | ||
|
||
|
||
## Screenshot of error, embedded text output, or Pastebin link to the error | ||
|
||
|
||
## Any additional information | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
on: | ||
release: | ||
types: [published] | ||
|
||
name: Upload Release Asset | ||
|
||
jobs: | ||
mac: | ||
name: Upload Release Asset Mac | ||
runs-on: macos-latest | ||
steps: | ||
- name: Trim release name | ||
id: get_version | ||
run: echo ::set-output name=VERSION::$(echo $GITHUB_REF | cut -d / -f 3 | cut -c 2-) | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
- name: Build project | ||
run: | | ||
yarn | ||
yarn electron:build:mac | ||
- name: Upload Release Asset Mac | ||
id: upload-release-asset-mac | ||
uses: actions/upload-release-asset@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ github.event.release.upload_url }} | ||
# Note: the release name must match the version number in package.json. | ||
asset_path: ./dist_electron/starkiller-${{ steps.get_version.outputs.VERSION }}.dmg | ||
asset_name: starkiller-${{ steps.get_version.outputs.VERSION }}.dmg | ||
asset_content_type: application/octet-stream | ||
linux: | ||
name: Upload Release Asset Linux | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Trim release name | ||
id: get_version | ||
run: echo ::set-output name=VERSION::$(echo $GITHUB_REF | cut -d / -f 3 | cut -c 2-) | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
- name: Build project | ||
run: | | ||
yarn | ||
yarn electron:build:lin | ||
- name: Upload Release Asset Linux | ||
id: upload-release-asset-linux | ||
uses: actions/upload-release-asset@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ github.event.release.upload_url }} | ||
# Note: the release name must match the version number in package.json. | ||
asset_path: ./dist_electron/starkiller-${{ steps.get_version.outputs.VERSION }}.AppImage | ||
asset_name: starkiller-${{ steps.get_version.outputs.VERSION }}.AppImage | ||
asset_content_type: application/octet-stream | ||
windows: | ||
name: Upload Release Asset Windows | ||
runs-on: windows-latest | ||
steps: | ||
- name: Trim release name | ||
id: get_version | ||
shell: bash | ||
run: echo ::set-output name=VERSION::$(echo $GITHUB_REF | cut -d / -f 3 | cut -c 2-) | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
- name: Build project | ||
run: | | ||
yarn | ||
yarn electron:build:win | ||
- name: Upload Release Asset Windows | ||
id: upload-release-asset-windows | ||
uses: actions/upload-release-asset@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ github.event.release.upload_url }} | ||
# Note: the release name must match the version number in package.json. | ||
asset_path: ./dist_electron/starkiller Setup ${{ steps.get_version.outputs.VERSION }}.exe | ||
asset_name: starkiller Setup ${{ steps.get_version.outputs.VERSION }}.exe | ||
asset_content_type: application/octet-stream | ||
|
||
# useful: https://developer.github.com/v3/repos/releases/#get-a-single-release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
.DS_Store | ||
node_modules | ||
/dist | ||
|
||
/tests/e2e/videos/ | ||
/tests/e2e/screenshots/ | ||
|
||
# local env files | ||
.env.local | ||
.env.*.local | ||
|
||
# Log files | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
|
||
# Editor directories and files | ||
.idea | ||
.vscode | ||
*.suo | ||
*.ntvs* | ||
*.njsproj | ||
*.sln | ||
*.sw? | ||
|
||
#Electron-builder output | ||
/dist_electron | ||
|
||
/build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Contributing to Starkiller | ||
We love your input! We want to make contributing to this project as easy and transparent as possible, whether it's: | ||
* Reporting a bug | ||
* Discussing the current state of the code | ||
* Submitting a fix | ||
* Proposing new features | ||
|
||
## Creating Github Issues | ||
Please first review the existing Starkiller issues to see if the error was resolved with a fix in the development branch or if we chose not to fix the error for some reason. | ||
|
||
The more information you provide in a Github issue the easier it will be for us to track down and fix the problem: | ||
* Please provide the version of Empire you are using. | ||
* Please provide the OS, and Starkiller version that you are using. | ||
* Please describe the expected behavior and the encountered error. | ||
* The more detail the better! | ||
* Include any actions taken just prior to the error. | ||
* Please post a screenshot of the error, a link to a Pastebin dump of the error, or embedded text of the error. | ||
* Any additional information. | ||
|
||
## Making a Pull Request | ||
1. Create an issue describing the motivation for your changes | ||
* Pull Requests without associated Issues may still be accepted, if the motivation is obvious. However, this will help speed up code review if there's any uncertainty. | ||
1. Fork the repo and create your branch from dev. | ||
1. Make sure your code lints. | ||
1. Issue that pull request! | ||
|
||
## Git Branches / Release Process | ||
All features and bug fixes will go to the dev branch. | ||
When a release is ready we will: | ||
1. Update the version number in the package.json | ||
1. Merge to master | ||
1. Create a GitHub release off master with the changes documented in the release | ||
|
||
## Use a Consistent Coding Style | ||
We use Airbnb's and Vue's recommended ESLint configs. To make your life easier, consider installing an ESLint plugin in your editor of choice. You can also run `yarn lint`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2020 BC Security | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
<div align="center"><img width="125" src="src/assets/icon.png"></div> | ||
|
||
# Starkiller | ||
Starkiller is a Frontend for [Powershell Empire](https://github.com/BC-SECURITY/Empire/). It is an Electron application written in VueJS. If you'd like to contribute please follow the [Contibution guide](/CONTRIBUTING.md). If you'd like to request a feature or report a bug, please follow the [Issue template](/.github/ISSUE_TEMPLATE.md). | ||
|
||
# Getting Started | ||
* To run Starkiller, you can download the installers for Mac, Linux, and Windows on the [Releases](https://github.com/BC-SECURITY/Starkiller/releases) page. | ||
* For more info on running AppImage builds in Linux [check out their website](https://appimage.org/) | ||
* If you want to build from source or run in development mode, instructions are below. | ||
|
||
## Install | ||
Prerequisites: | ||
* [Node.js](http://nodejs.org/) 10+. | ||
* [Yarn](https://classic.yarnpkg.com/en/docs/install) | ||
Currently it has been tested using Yarn 1.22.0. | ||
``` | ||
yarn install | ||
``` | ||
|
||
### Compile and hot-reload for development | ||
``` | ||
yarn electron:serve | ||
``` | ||
|
||
### Compile and minify for production | ||
``` | ||
yarn electron:build | ||
# Or to target a specific OS. | ||
yarn electron:build:lin | ||
yarn electron:build:win | ||
yarn electron:build:mac | ||
``` | ||
|
||
## Changelog | ||
|
||
Detailed changes for each release are documented in the [release notes](https://github.com/bc-security/starkiller/releases). | ||
|
||
## Stay In Touch | ||
|
||
- [Twitter](https://twitter.com/bcsecurity1) | ||
- [Blog](https://bc-security.org/blog) | ||
|
||
## License | ||
|
||
[MIT](http://opensource.org/licenses/MIT) | ||
|
||
Copyright (c) 2020 BC Security |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
module.exports = { | ||
presets: [ | ||
'@vue/cli-plugin-babel/preset', | ||
], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"pluginsFile": "tests/e2e/plugins/index.js" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
{ | ||
"name": "starkiller", | ||
"version": "1.0.0", | ||
"private": true, | ||
"scripts": { | ||
"serve": "vue-cli-service serve", | ||
"build": "vue-cli-service build", | ||
"test:unit": "vue-cli-service test:unit", | ||
"test:e2e": "vue-cli-service test:e2e", | ||
"lint": "vue-cli-service lint", | ||
"electron:generate-icons": "electron-icon-builder --input=./public/icon.png --output=build --flatten", | ||
"electron:build": "yarn run electron:generate-icons && vue-cli-service electron:build", | ||
"electron:build:mac": "yarn run electron:generate-icons && vue-cli-service electron:build --mac", | ||
"electron:build:win": "yarn run electron:generate-icons && vue-cli-service electron:build --windows", | ||
"electron:build:lin": "yarn run electron:generate-icons && vue-cli-service electron:build --linux", | ||
"electron:serve": "vue-cli-service electron:serve", | ||
"postinstall": "electron-builder install-app-deps", | ||
"postuninstall": "electron-builder install-app-deps" | ||
}, | ||
"main": "background.js", | ||
"dependencies": { | ||
"axios": "0.18.0", | ||
"chai-as-promised": "^7.1.1", | ||
"core-js": "^3.4.4", | ||
"electron-store": "^5.1.0", | ||
"element-ui": "^2.13", | ||
"lodash.debounce": "^4.0.8", | ||
"moment": "^2.24.0", | ||
"semver": "^7.1.3", | ||
"vue": "^2.6.10", | ||
"vue-router": "^3.1.3", | ||
"vue-splitpane": "^1.0.6", | ||
"vuex": "^3.1.2" | ||
}, | ||
"devDependencies": { | ||
"@vue/cli-plugin-babel": "^4.1.0", | ||
"@vue/cli-plugin-e2e-cypress": "^4.1.0", | ||
"@vue/cli-plugin-eslint": "^4.1.0", | ||
"@vue/cli-plugin-router": "^4.1.0", | ||
"@vue/cli-plugin-unit-mocha": "^4.1.0", | ||
"@vue/cli-plugin-vuex": "^4.1.0", | ||
"@vue/cli-service": "^4.1.0", | ||
"@vue/eslint-config-airbnb": "^4.0.0", | ||
"@vue/test-utils": "1.0.0-beta.29", | ||
"babel-eslint": "^10.0.3", | ||
"chai": "^4.1.2", | ||
"electron": "^6.0.0", | ||
"electron-icon-builder": "^1.0.2", | ||
"eslint": "^5.16.0", | ||
"eslint-plugin-vue": "^5.0.0", | ||
"sass": "^1.23.7", | ||
"sass-loader": "^8.0.0", | ||
"vue-cli-plugin-electron-builder": "^1.4.4", | ||
"vue-cli-plugin-element": "^1.0.1", | ||
"vue-template-compiler": "^2.6.10" | ||
} | ||
} |
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width,initial-scale=1.0"> | ||
<link rel="icon" href="<%= BASE_URL %>favicon.ico"> | ||
<title>starkiller</title> | ||
</head> | ||
<body> | ||
<noscript> | ||
<strong>We're sorry but starkiller doesn't work properly without JavaScript enabled. Please enable it to continue.</strong> | ||
</noscript> | ||
<div id="app"></div> | ||
<!-- built files will be auto injected --> | ||
</body> | ||
</html> |
Oops, something went wrong.