-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from huntresslabs/dev
Remove API, fix dev env
- Loading branch information
Showing
12 changed files
with
53 additions
and
81 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 |
---|---|---|
|
@@ -3,8 +3,37 @@ When Apps Go Rogue. | |
|
||
This repository documents observed the TTPs associated with OIDC/OAuth 2.0 application attacks. | ||
|
||
For more information about this subject, please visit the [Wiki](https://github.com/huntresslabs/rogueapps/wiki). | ||
|
||
## Contributing | ||
If you want to contribue to the RogueApps project, please [open an Issue](https://github.com/huntresslabs/rogueapps/issues/new?assignees=&labels=new+rogueapp&projects=&template=custom.md&title=%5BNew+RogueApp%5D%3A+%28RogueApp+Name%29) Please follow the issue template and include details about the observed TTPs for the RogueApp. Please do not submit any sensitive, private, or proprietary information. | ||
If you want to contribue to the RogueApps project, please review the [Wiki Contribution Guide](https://github.com/huntresslabs/rogueapps/wiki/Contribution-Guide) and [open an Issue](https://github.com/huntresslabs/rogueapps/issues/new?assignees=&labels=new+rogueapp&projects=&template=custom.md&title=%5BNew+RogueApp%5D%3A+%28RogueApp+Name%29). Please follow the issue template and include details about the observed TTPs for the RogueApp. Please do not submit any sensitive, private, or proprietary information. | ||
|
||
## Adding Contributions | ||
When a contribution is accepted into the repo, add the details of the contribution to the `rogueapps.json` file located in `public/`. The JSON entries are dynamically queried by the API and the entry cards are then rendered to the Home page. | ||
When a contribution is accepted into the repo, add the details of the contribution to the `rogueapps.json` file located in `public/`. The JSON entries are dynamically queried by the API and the entry cards are then rendered to the Home page. | ||
|
||
## Development Guide | ||
### Dev Install | ||
|
||
First, clone the repository (main or dev branch). | ||
|
||
Next, change directories into the repo and installl the Node modules: | ||
|
||
``` | ||
npm install | ||
``` | ||
|
||
Now, start the dev server: | ||
``` | ||
npm run dev | ||
``` | ||
``` | ||
> [email protected] dev | ||
> next dev | ||
▲ Next.js 14.2.5 | ||
- Local: http://localhost:3000 | ||
``` | ||
The dev server is now live at `localhost:3000`. | ||
|
||
|
||
|
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
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
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
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
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 |
---|---|---|
@@ -1,6 +1,5 @@ | ||
/// <reference types="next" /> | ||
/// <reference types="next/image-types/global" /> | ||
/// <reference types="next/navigation-types/compat/navigation" /> | ||
|
||
// NOTE: This file should not be edited | ||
// see https://nextjs.org/docs/basic-features/typescript for more 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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
/** @type {import('next').NextConfig} */ | ||
const nextConfig = { | ||
basePath: "/rogueapps", | ||
output: "export", // <=== enables static exports | ||
reactStrictMode: true, | ||
}; | ||
module.exports = nextConfig; | ||
basePath: process.env.NODE_ENV === 'production' ? '/rogueapps' : '', | ||
output: 'export', // Enables static exports | ||
reactStrictMode: true, | ||
}; | ||
|
||
module.exports = nextConfig; |
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.