Skip to content
This repository has been archived by the owner on Jul 10, 2024. It is now read-only.

Commit

Permalink
💄 Rebranding!
Browse files Browse the repository at this point in the history
  • Loading branch information
CosasDePuma committed Oct 13, 2021
1 parent 1657905 commit b3e87f7
Show file tree
Hide file tree
Showing 36 changed files with 11,371 additions and 122 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name: Report a bug
about: Create a report to help Masterchef improve
about: Create a report to help Misterchef improve
title: "\U0001F41B Fix ..."
labels: bug
assignees: CosasDePuma
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .github/README/misterchef.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 7 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ RUN mkdir -p /app/backend/public && \
yarn install && yarn run compile

FROM golang:alpine as backend
WORKDIR /go/src/github.com/cosasdepuma/masterchef/
WORKDIR /go/src/github.com/cosasdepuma/misterchef/
COPY ./backend/ ./
COPY --from=frontend /app/backend/public/ ./public/
RUN apk update && \
apk add --virtual essentials --no-cache git upx && \
GOOS=linux GOARCH=386 CGO_ENABLED=0 go build -a -ldflags="-w -s -extldflags \"-static\"" -o ./bin/masterchef ./main.go && \
upx -9 --ultra-brute ./bin/masterchef && \
GOOS=linux GOARCH=386 CGO_ENABLED=0 go build -a -ldflags="-w -s -extldflags \"-static\"" -o ./bin/misterchef ./main.go && \
upx -9 --ultra-brute ./bin/misterchef && \
apk del essentials && \
rm -rf /var/cache/apk/*

Expand All @@ -25,16 +25,16 @@ RUN apk update && \
--no-create-home \
--disabled-password \
--shell "/sbin/nologin" \
masterchef
misterchef

FROM scratch
COPY --from=system /usr/share/zoneinfo /usr/share/zoneinfo
COPY --from=system /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY --from=system /etc/passwd /etc/passwd
COPY --from=system /etc/group /etc/group
COPY --from=backend /go/src/github.com/cosasdepuma/masterchef/bin/masterchef /app/masterchef
USER masterchef:masterchef
COPY --from=backend /go/src/github.com/cosasdepuma/misterchef/bin/misterchef /app/misterchef
USER misterchef:misterchef
EXPOSE 7767
WORKDIR /app
ENV MC_ADDR ":7767"
ENTRYPOINT ["/app/masterchef"]
ENTRYPOINT ["/app/misterchef"]
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -629,7 +629,7 @@ to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.

Masterchef Framework. The most delicious pentesting tool.
Misterchef Framework. The most delicious pentesting tool.
Copyright (C) 2021 Diego Enrique Fontán Lorenzo

This program is free software: you can redistribute it and/or modify
Expand Down
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# App
APPNAME = masterchef
APPNAME = misterchef
VERSION = $(shell cat version)
FRONTEND = frontend
BACKEND = backend
Expand All @@ -23,10 +23,10 @@ dist/$(APPNAME)-$(VERSION): fmt $(OBJS)
$(CC) $(LDFLAGS) -a -o $@ main.go

$(BACKEND)/public/index.go: FORCE $(FRONTEND)/node_modules $(FRONTEND)/package.json
@yarn --cwd $(FRONTEND) run compile
@npm --prefix $(FRONTEND) run compile

$(FRONTEND)/node_modules: $(FRONTEND)/package.json
@yarn --cwd $(FRONTEND) install
@npm --prefix $(FRONTEND) install

.PHONY: fmt
fmt:
Expand Down
Loading

0 comments on commit b3e87f7

Please sign in to comment.