Skip to content

Commit

Permalink
interact domain update
Browse files Browse the repository at this point in the history
  • Loading branch information
ehsandeep committed Sep 5, 2022
1 parent 0642fd2 commit f4facdf
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ A hosted instance of **interactsh-web** client is available at https://app.inter
## Configuring Self-Hosted Interactsh Server

- Navigate to hosted interactsh-web client at https://app.interactsh.com
- Click on `interact.sh` link at top bar
- Click on `oast.fun` link at top bar
- Submit domain name running self-hosted interactsh server, optionally token (for protected server)

Here is an example configuring self-hosted interactsh server with web-client:
Expand Down
2 changes: 1 addition & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<head>
<meta charset="utf-8" />
<meta content="width=device-width" name="viewport" />
<title>Interact.sh | Web Client</title>
<title>Interactsh | Web Client</title>
<link rel="preconnect" href="https://fonts.gstatic.com" />
<link
href="https://fonts.googleapis.com/css2?family=Nunito+Sans&family=Poppins&family=Montserrat&family=Open+Sans&display=swap"
Expand Down
12 changes: 6 additions & 6 deletions src/components/customHost/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const CustomHost = ({ handleCloseDialog }: CustomHostP) => {
notes: [],
view: "up_and_down",
increment: 1,
host: "interact.sh",
host: "oast.fun",
tabs: [],
token: "",
telegram: {
Expand Down Expand Up @@ -59,7 +59,7 @@ const CustomHost = ({ handleCloseDialog }: CustomHostP) => {
const [isDeleteConfirmationVisible, setIsDeleteConfirmationVisible] = useState<boolean>(false);
const [isLoading, setIsLoading] = useState<boolean>(false);
const [errorText, setErrorText] = useState("");
const [inputValue, setInputValue] = useState<string>(host === "interact.sh" ? "" : host);
const [inputValue, setInputValue] = useState<string>(host === "oast.fun" ? "" : host);
const [tokenInputValue, setTokenInputValue] = useState<string>(token === "" ? "" : token);

const handleDeleteConfirmationVisibility = () => {
Expand All @@ -76,8 +76,8 @@ const CustomHost = ({ handleCloseDialog }: CustomHostP) => {

const handleConfirm = () => {
if (
(inputValue !== "" && inputValue !== "interact.sh" && host !== inputValue) ||
(inputValue !== "" && inputValue !== "interact.sh" && tokenInputValue !== token)
(inputValue !== "" && inputValue !== "oast.fun" && host !== inputValue) ||
(inputValue !== "" && inputValue !== "oast.fun" && tokenInputValue !== token)
) {
setIsLoading(true);
setTimeout(() => {
Expand Down Expand Up @@ -164,7 +164,7 @@ const CustomHost = ({ handleCloseDialog }: CustomHostP) => {
<CloseIcon onClick={handleCloseDialog} />
</div>
<span>
You can point your self hosted interact.sh server below to connect with this web client.
You can point your self hosted oast.fun server below to connect with this web client.
</span>
<input
type="text"
Expand All @@ -183,7 +183,7 @@ const CustomHost = ({ handleCloseDialog }: CustomHostP) => {
/>
{errorText !== "" && <div className="error">{errorText}</div>}
<div className="buttons">
{host !== "interact.sh" && (
{host !== "oast.fun" && (
<button
type="button"
className="remove_button"
Expand Down
2 changes: 1 addition & 1 deletion src/lib/localStorage/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const defaultStoredData: StoredData = {
notes: [],
view: "up_and_down",
increment: 1,
host: "interact.sh",
host: "oast.fun",
tabs: [],
token: "",
telegram: {
Expand Down

0 comments on commit f4facdf

Please sign in to comment.