isite 2025.10.3 → 2025.10.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -64,21 +64,22 @@
|
|
|
64
64
|
<body>
|
|
65
65
|
<div class="container" x-feature="!browser.social">
|
|
66
66
|
<h1>Download Social Browser</h1>
|
|
67
|
-
<p>Get the latest version of
|
|
67
|
+
<p>Get the latest version of Social Browser and start unlock All features</p>
|
|
68
68
|
<a href="https://social-browser.com" class="download-button">Download Social Browser</a>
|
|
69
69
|
<hr />
|
|
70
70
|
<ul>
|
|
71
|
-
<li>Support Multi User</li>
|
|
71
|
+
<li>Support Multi Login User</li>
|
|
72
72
|
<li>Support Multi Proxy</li>
|
|
73
|
-
<li>Support Multi
|
|
74
|
-
<li>
|
|
73
|
+
<li>Support Multi User Agent</li>
|
|
74
|
+
<li>Browser FingerPrint Protected</li>
|
|
75
75
|
<li>Watching Streaming Sites without Ads</li>
|
|
76
76
|
<li>Support Safty Mode For Children</li>
|
|
77
|
-
<li>
|
|
77
|
+
<li>Custom Virual PC For every User</li>
|
|
78
|
+
<li>Share Social Media Accounts without email or password</li>
|
|
78
79
|
</ul>
|
|
79
80
|
</div>
|
|
80
81
|
<div class="row padding margin">
|
|
81
|
-
<h2 class="feature" x-list1="features">Required Feature : ##item1.*##</h2>
|
|
82
|
+
<h2 class="feature center" x-list1="features">Required Feature : ##item1.*##</h2>
|
|
82
83
|
</div>
|
|
83
84
|
</body>
|
|
84
85
|
</html>
|
package/lib/email.js
CHANGED
|
@@ -1,109 +1,116 @@
|
|
|
1
1
|
module.exports = function init(____0) {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
if (!mail || !mail.from || !mail.to || !mail.subject || !mail.message) {
|
|
9
|
-
callback({ message: ' Check Mail All Fields [ from , to , subject , message ] ' });
|
|
10
|
-
return;
|
|
11
|
-
}
|
|
12
|
-
mail.source = 'isite';
|
|
13
|
-
mail.from_email = mail.from;
|
|
14
|
-
mail.to_email = mail.to;
|
|
2
|
+
____0.sendFreeMail = function (mail, callback) {
|
|
3
|
+
callback =
|
|
4
|
+
callback ||
|
|
5
|
+
function (err, res) {
|
|
6
|
+
console.log(err || res);
|
|
7
|
+
};
|
|
15
8
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
})
|
|
22
|
-
.then((res) => res.json())
|
|
23
|
-
.then((body) => {
|
|
24
|
-
callback(null, body);
|
|
25
|
-
})
|
|
26
|
-
.catch((err) => {
|
|
27
|
-
callback(err);
|
|
28
|
-
});
|
|
29
|
-
};
|
|
9
|
+
mail.from = mail.from || 'no-reply@egytag.com';
|
|
10
|
+
if (!mail.from.like('*@egytag.com')) {
|
|
11
|
+
mail.from0 = mail.from;
|
|
12
|
+
mail.from = 'no-reply@egytag.com';
|
|
13
|
+
}
|
|
30
14
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
if (!mail || !mail.from || !mail.to || !mail.subject || !mail.message) {
|
|
39
|
-
callback({ message: ' Check Mail All Fields [ from , to , subject , message ] ' });
|
|
40
|
-
return;
|
|
41
|
-
}
|
|
42
|
-
mail = { ...____0.options.mail, ...mail };
|
|
43
|
-
var transporter = ____0.nodemailer.createTransport({
|
|
44
|
-
host: mail.host,
|
|
45
|
-
port: mail.port || 587,
|
|
46
|
-
service: 'Mandrill',
|
|
47
|
-
secure: mail.secure, // true for 465, false for other ports
|
|
48
|
-
auth: {
|
|
49
|
-
user: mail.username, // generated ethereal user
|
|
50
|
-
pass: mail.password, // generated ethereal password
|
|
51
|
-
apiKey: mail.password,
|
|
52
|
-
},
|
|
53
|
-
logger: true, // log to console
|
|
54
|
-
});
|
|
15
|
+
if (!mail || !mail.from || !mail.to || !mail.subject || (!mail.message && !mail.html && !mail.text)) {
|
|
16
|
+
callback({ message: ' Check Mail All Fields [ from , to , subject , message ] ' });
|
|
17
|
+
return;
|
|
18
|
+
}
|
|
19
|
+
mail.source = 'isite';
|
|
20
|
+
mail.from_email = mail.from;
|
|
21
|
+
mail.to_email = mail.to;
|
|
55
22
|
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
23
|
+
____0
|
|
24
|
+
.fetch(`http://emails.egytag.com/api/emails/add`, {
|
|
25
|
+
method: 'POST',
|
|
26
|
+
headers: { 'Content-Type': 'application/json' },
|
|
27
|
+
body: JSON.stringify(mail),
|
|
28
|
+
})
|
|
29
|
+
.then((res) => res.json())
|
|
30
|
+
.then((body) => {
|
|
31
|
+
callback(null, body);
|
|
32
|
+
})
|
|
33
|
+
.catch((err) => {
|
|
34
|
+
callback(err);
|
|
35
|
+
});
|
|
69
36
|
};
|
|
70
37
|
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
38
|
+
____0.sendSmptMail = function (mail, callback) {
|
|
39
|
+
console.log(mail);
|
|
40
|
+
callback =
|
|
41
|
+
callback ||
|
|
42
|
+
function (err, res) {
|
|
43
|
+
console.log(err || res);
|
|
44
|
+
};
|
|
45
|
+
if (!mail || !mail.from || !mail.to || !mail.subject || !mail.message) {
|
|
46
|
+
callback({ message: ' Check Mail All Fields [ from , to , subject , message ] ' });
|
|
47
|
+
return;
|
|
48
|
+
}
|
|
49
|
+
mail = { ...____0.options.mail, ...mail };
|
|
50
|
+
var transporter = ____0.nodemailer.createTransport({
|
|
51
|
+
host: mail.host,
|
|
52
|
+
port: mail.port || 587,
|
|
53
|
+
service: 'Mandrill',
|
|
54
|
+
secure: mail.secure, // true for 465, false for other ports
|
|
55
|
+
auth: {
|
|
56
|
+
user: mail.username, // generated ethereal user
|
|
57
|
+
pass: mail.password, // generated ethereal password
|
|
58
|
+
apiKey: mail.password,
|
|
59
|
+
},
|
|
60
|
+
logger: true, // log to console
|
|
61
|
+
});
|
|
75
62
|
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
63
|
+
var mailOptions = {
|
|
64
|
+
from: mail.from,
|
|
65
|
+
to: mail.to,
|
|
66
|
+
cc: mail.cc,
|
|
67
|
+
bcc: mail.bcc,
|
|
68
|
+
subject: mail.subject,
|
|
69
|
+
html: mail.message,
|
|
70
|
+
text: mail.message.replace(/<[^>]+>/g, ''),
|
|
71
|
+
// headers: {
|
|
72
|
+
// 'x-lib': 'isite',
|
|
73
|
+
// },
|
|
74
|
+
date: ____0.getDateTime(),
|
|
75
|
+
// attachments: [{ filename: 'isite.txt', content: 'test attachment', contentType: 'text/plain' }],
|
|
76
|
+
};
|
|
82
77
|
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
78
|
+
transporter.sendMail(mailOptions, function (err, info) {
|
|
79
|
+
callback(err, info);
|
|
80
|
+
});
|
|
81
|
+
};
|
|
82
|
+
|
|
83
|
+
____0.checkMailConfig = function (mail, callback) {
|
|
84
|
+
callback =
|
|
85
|
+
callback ||
|
|
86
|
+
function (err, res) {
|
|
87
|
+
console.log(err || res);
|
|
88
|
+
};
|
|
93
89
|
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
90
|
+
mail = { ...____0.options.mail, ...mail };
|
|
91
|
+
var transporter = ____0.nodemailer.createTransport({
|
|
92
|
+
host: mail.host,
|
|
93
|
+
port: mail.port || 587,
|
|
94
|
+
secure: mail.secure, // true for 465, false for other ports
|
|
95
|
+
auth: {
|
|
96
|
+
user: mail.username, // generated ethereal user
|
|
97
|
+
pass: mail.password, // generated ethereal password
|
|
98
|
+
},
|
|
99
|
+
});
|
|
100
|
+
|
|
101
|
+
transporter.verify(function (err, success) {
|
|
102
|
+
callback(err, success);
|
|
103
|
+
});
|
|
104
|
+
};
|
|
98
105
|
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
106
|
+
// let transporter = nodemailer.createTransport({
|
|
107
|
+
// host: "smtp.gmail.com",
|
|
108
|
+
// port: 465,
|
|
109
|
+
// secure: true,
|
|
110
|
+
// auth: {
|
|
111
|
+
// type: "OAuth2",
|
|
112
|
+
// user: "user@example.com",
|
|
113
|
+
// accessToken: "ya29.Xx_XX0xxxxx-xX0X0XxXXxXxXXXxX0x",
|
|
114
|
+
// },
|
|
115
|
+
// });
|
|
109
116
|
};
|
package/lib/integrated.js
CHANGED
|
@@ -1,4 +1,13 @@
|
|
|
1
1
|
module.exports = function init(____0) {
|
|
2
|
+
|
|
3
|
+
____0.AI = function(text){
|
|
4
|
+
return ____0.fetch('https://n8n.egytag.com/webhook/chat', {
|
|
5
|
+
method: 'POST',
|
|
6
|
+
body : JSON.stringify({ text: text }),
|
|
7
|
+
headers: { 'Content-Type': 'application/json' }
|
|
8
|
+
}).then(res => res.json())
|
|
9
|
+
}
|
|
10
|
+
|
|
2
11
|
____0.sendEmail = ____0.sendMail = function (mail, callback) {
|
|
3
12
|
mail = { ...____0.options.mail, ...mail };
|
|
4
13
|
if (mail.enabled) {
|
|
@@ -24,11 +33,11 @@ module.exports = function init(____0) {
|
|
|
24
33
|
);
|
|
25
34
|
};
|
|
26
35
|
|
|
27
|
-
____0.telegramInit = function (_token, onNewMessage) {
|
|
36
|
+
____0.telegramInit = function (_token, onNewMessage , polling = false) {
|
|
28
37
|
____0.telegramBotApi = ____0.telegramBotApi || require('node-telegram-bot-api');
|
|
29
38
|
|
|
30
39
|
const token = _token || ____0.from123('28151274267416752654127427546213313647493756417147542323361941814637625228172373327862183774477626168234323932434158325736319191');
|
|
31
|
-
const bot = new ____0.telegramBotApi(token, { polling:
|
|
40
|
+
const bot = new ____0.telegramBotApi(token, { polling: polling });
|
|
32
41
|
let botManager = {
|
|
33
42
|
token: _token,
|
|
34
43
|
bot: bot,
|
|
@@ -53,13 +62,13 @@ module.exports = function init(____0) {
|
|
|
53
62
|
return botManager;
|
|
54
63
|
};
|
|
55
64
|
|
|
56
|
-
____0.newTelegramBot = function (data, onNewMessage) {
|
|
65
|
+
____0.newTelegramBot = function (data, onNewMessage, polling = false) {
|
|
57
66
|
if (typeof data === 'string') {
|
|
58
67
|
data = { token: data };
|
|
59
68
|
}
|
|
60
69
|
let botManager = ____0.telegramBotList.find((b) => b.token == data.token);
|
|
61
70
|
if (!botManager) {
|
|
62
|
-
botManager = ____0.telegramInit(data.token, onNewMessage);
|
|
71
|
+
botManager = ____0.telegramInit(data.token, onNewMessage , polling);
|
|
63
72
|
if (Array.isArray(data.userMessageList)) {
|
|
64
73
|
botManager.userMessageList = data.userMessageList;
|
|
65
74
|
}
|
|
@@ -68,6 +77,12 @@ module.exports = function init(____0) {
|
|
|
68
77
|
return botManager;
|
|
69
78
|
};
|
|
70
79
|
|
|
80
|
+
____0.sendTelegramMessage = function (token, chatID, message) {
|
|
81
|
+
let bot = ____0.newTelegramBot(token);
|
|
82
|
+
bot.sendMessage(chatID, message);
|
|
83
|
+
return bot;
|
|
84
|
+
};
|
|
85
|
+
|
|
71
86
|
____0.telegramBotList = [];
|
|
72
87
|
|
|
73
88
|
____0.onPOST('/telegram/connect', (req, res) => {
|