Teamviewer 15 mac os reset id

0x2a94b5 / TeamViewer-15-id-changer-for-mac.py

#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# System: macOS Mojave 10.14.6
# Version: TeamViewer v15.2.2756
# Python: 2.7.10
# Command: sudo python TeamViewer-15-id-changer-for-mac.py
#
import os
import platform
import random
import re
import string
import sys
print ( »’
———————————
TeamViewer ID Changer for MAC OS
———————————
»’ )
if sys . version [ 0 : 1 ] != «2» :
print ( «This script can be run only on Python27.» )
sys . exit ()
if platform . system () != «Darwin» :
print ( «This script can be run only on MAC OS.» )
sys . exit ()
if os . geteuid () != 0 :
print ( «This script must be run form root.» )
sys . exit ()
if «SUDO_USER» in os . environ :
USERNAME = os . environ [ «SUDO_USER» ]
if USERNAME == «root» :
print ( «Can not find user name. Run this script via sudo from regular user» )
sys . exit ()
else :
print ( «Can not find user name. Run this script via sudo from regular user» )
sys . exit ()
HOMEDIRLIB = «/Users/» + USERNAME + «/Library/Preferences/»
GLOBALLIB = «/Library/Preferences/»
CONFIGS = []
# Find config files
def listdir_fullpath ( d ):
return [ os . path . join ( d , f ) for f in os . listdir ( d )]
for file in listdir_fullpath ( HOMEDIRLIB ):
if ‘teamviewer’ in file . lower ():
CONFIGS . append ( file )
for file in listdir_fullpath ( GLOBALLIB ):
if ‘teamviewer’ in file . lower ():
CONFIGS . append ( file )
if not CONFIGS :
print ( »’
There is no TemViewer configs found.
Maybe you have deleted it manualy or never run TeamViewer after installation.
Nothing to delete.
»’ )
else :
# Delete config files
print ( «Configs found: \n » )
for file in CONFIGS : print ( file )
print ( »’
This files will be DELETED permanently.
All TeamViewer settings will be lost
»’ )
raw_input ( «Press Enter to continue or CTR+C to abort. » )
for file in CONFIGS :
try :
os . remove ( file )
except :
print ( «Cannot delete config files. Permission denied?» )
sys . exit ()
print ( «Done.» )
# Find binaryes
TMBINARYES = [
‘/Applications/TeamViewer.app/Contents/MacOS/TeamViewer’ ,
‘/Applications/TeamViewer.app/Contents/MacOS/TeamViewer_Service’ ,
‘/Applications/TeamViewer.app/Contents/MacOS/TeamViewer_Desktop’ ,
‘/Applications/TeamViewer.app/Contents/Helpers/Helper’ ,
‘/Applications/TeamViewer.app/Contents/Helpers/TeamViewer_Assignment’
]
for file in TMBINARYES :
if os . path . exists ( file ):
pass
else :
print ( «File not found: » + file )
print ( «Install TeamViewer correctly» )
sys . exit ()
# Patch files
def idpatch ( fpath , platf , serial ):
file = open ( fpath , ‘r+b’ )
binary = file . read ()
PlatformPattern = «IOPlatformExpert.<6>«
SerialPattern = «IOPlatformSerialNumber%s%s%s»
binary = re . sub ( PlatformPattern , platf , binary )
binary = re . sub ( SerialPattern % ( chr ( 0 ), «[0-9a-zA-Z]<8,8>» , chr ( 0 )), SerialPattern % ( chr ( 0 ), serial , chr ( 0 )), binary )
file = open ( fpath , ‘wb’ ). write ( binary )
return True
def random_generator ( size = 8 , chars = string . ascii_uppercase + string . ascii_lowercase + string . digits ):
return » . join ( random . choice ( chars ) for _ in range ( size ))
RANDOMSERIAL = random_generator ( 8 )
RANDOMPLATFORM = «IOPlatformExpert» + random_generator ( 6 )
for file in TMBINARYES :
try :
idpatch ( file , RANDOMPLATFORM , RANDOMSERIAL )
except :
print ( «Error: can not patch file » + file )
sys . exit ()
print ( «PlatformDevice: » + RANDOMPLATFORM )
print ( «PlatformSerial: » + RANDOMSERIAL )
os . system ( «sudo codesign —force —deep —sign — /Applications/TeamViewer.app/» )
print ( »’
ID changed sucessfully.
. Restart computer before using TeamViewer .
»’ )

This comment has been minimized.

Copy link Quote reply

marble-it commented Oct 5, 2021

I downloaded the .py file but I have no clue how to run it. Sorry.

This comment has been minimized.

Copy link Quote reply

This comment has been minimized.

Copy link Quote reply

marble-it commented Oct 7, 2021

Hello,
thx for the quick reply.
I tried it installing 2.7 Python and then, after having deleted the 2.7, I tried even with the 3.10.
This is what I get on mac terminal (that is the terminal I should use, right?).
When I open again the TeamV, I get the window like it’s the first installation but the ID is always the same.

Thank you again for your support

You can’t perform that action at this time.

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.

Источник

Снимаем ограничение на работу TeamViewer

Видимо, русская страсть к халяве прошита у нас уже с рождения. Мы всегда пытаемся урвать что-то нахаляву. Но особенно это проявляется с цифровым контентом. Мы не привыкли покупать программы, игры, фильмы, книги, а если и приходится это делать, то просто от безысходности.

Не стану корчить из себя праведника, сам грешу подобным. Например, в рамках немногочисленных «шабашек» по 1с мне очень удобно сделать все по удаленке, чем тащиться в другой конец города. Кроме того, часто обращаются за помощью как читатели этого блога, так и знакомые, которым нужно просто «поэникеить» винду и программы.

Хотя иструменов для удаленного администрирования достаточно много и некоторые из них даже бесплатные, но есть сильные продукты, функционал которых стоит на голову выше бесплатных аналогов. Да, ammy admin классная программа, но лично мне она не очень нравится. Однако как бесплатный инструмент ammy admin отлично справляется со своей главной задачей и даже делает больше, нежели можно ожидать от нее. Кроме того, она бесплатна только для личных целей. Ее лицензия не подразумевает использование в коммерческих целях.

Занятная поделка под названием AeroAdmin была честно содрана со своего именитого иностранного аналога TeamViewer. Она даже внеше похожа на тимвьювер, хотя сколько раз не пытался работать через AeroAdmin, все время кроме матерных слов в ее адрес мой собеседник не мог услышать. Бесконечные тормоза, разные глюки и т.д. напрочь лично у меня отбивает желание работать с данной программой. И ладно бы если она была полностью бесплатной, но нет же, хотя AeroAdmin даже позволяет использование в коммерческих целях, но количество рабочих часов в месяц и количество подключаемых компьютеров у нее ограничены. И снова привет Тимвьюверу, так как такое применяется у него. Вот честно, если вы одинэсник или вообще нужно какую-то программу поставить и настроить, но боитесь быть пойманным «доблестными» убэповцами, то AeroAdmin может выручить в такой ситуации, но лично мое впечатление от работы с ней негативное.

Да и честно, обычно в конторах используется статический адрес и можно спокойно подключаться к рабочему месту как по rdp, так и по vnc протоколу. Но в случае с домашними компьютерами или рабочих мест кассир каких-либо «серьезных» торгашей программы для удаленного доступа по p2p просто самый оптимальный и наименее трудозатратный способ.

Последняя программа, о которой будет преступлением не рассказать и которая даже гораздо лучше Team Viewer – программа под названием AnyDesk. О плюсах программы можно писать бесконечно. Лично для меня она удобна тем, что работает гораздо быстрее TV и не просит денег за свое использование (возможно, что пока она бесплатная). Но и самый главный плюс – она доступна практически для всех платформ. Поэтому в данный момент этой программе просто нет конкурентов ни в чем.

Кроме того, почему то у всех на слуху Team Viewer, как только речь заходит об удаленном доступе. В 2015 году я вообще видел решение, когда админ объединял несколько гостиниц по VPN каналу с помощью… Team Viewer. Конечно, это его право и его решение, хотя как по мне – оно весьма опрометчивое и неоптимальное. Но сам факт того, что Тим Вьювер применяют буквально для всего уже говорит о некой монополизации рынка подобных программ.

Но вот все бы ничего, да только Team Viewer бесплатный для домашних пользователей. Корпоративным клиентам придется раскошелиться, но оно и неудивительно. У бизнеса, априори, должны быть деньги и на это, тогда как обычные пользователи редко покупают корпоративный софт. И вот тут Team Viewer, бдительно следит за правомерностью использования. Если вы часто подключаетесь к различным компьютерам, то Team Viewer сначала сообщит, что у нее появилось «подозрение на коммерческое использование», а потом и вовсе «порадует» вас картинкой, что теперь ваш сеанс связи ограничен 5 минутами.

Вот теперь мы и рассмотрим, как можно снять ограничение на использование TeamViewer.

Внимание! Важно понимать, что Тим Вьювер постоянно обновляется и постоянно усложняется защита. Поэтому раздел о том, как сбить защиту можно пролистать по диагонали. В конце статьи приведены ссылки на программы, которые собьют 100% ID без всяких лишних телодвижений. Поэтому в целях ознакомления, что когда-то был такой способ, ниженаписанный текст я не убираю, но рекомендую все же не заморачиваться с ним, а переходить сразу к концу статьи к ссылкам.

Учтите, что это не способ взлома. Это просто способ снятия ограничения. Фактически, это почти тоже самое, что и установка версии Team Viewer на новую систему. Наверняка вы пробовали переустановить эту программу и обнаруживали, что это не помогает и Тим Вьювер таки продолжает сообщать о том, что она проработает 5 минут и будет закрыта. К счастью, эта напасть решается всего несколькими шагами:

    Важно понимать, что мы «палимся» своим ID, который присваивается при установке Team Viewer. Все мероприятия, которые мы и будем проводить, как раз и будут направлены на то, чтобы его изменить и сервер узнал бы об этом. Итак, для начала нам нужно будет сменить MAC-адрес нашего сетевого адаптера, через который мы выходим в интернет. Напоминаю, что это можно сделать в Центре управления сетями и общим доступом, где нужно выбрать Изменение параметров адаптера и открыть наш сетевой адаптер. Теперь нажмите на кнопку «Свойства»

Источник

How to Reset the TeamViewer ID After Cloning a Mac

Recently, I set up a new MacBook Pro for my step-mom where I used Apple’s Migration Assistant to easily copy over all of her data, applications and preferences. One of the applications that I actually use on her machine is TeamViewer which is fanstanstic if you need to provide remote assistance to a Mac or PC (you can actually set up a free account – I highly recommend this service). So one of the first things that I do is to configure TeamViewer on any machine that I may need to provide remote assistance to. As part of the Migration Assistant process, TeamViewer was copied over to the new Mac so I didn’t need to reconfigure anything…or so I thought.

There was a problem though. As I was going to reconfigure the old Mac for my daughter, I was also going to set up TeamViewer on that Mac. Sounds great right? Wrong. When TeamViewer sets up the TeamViewer ID, it makes it so that you cannot easily change it. Unfortunately, that means that on cloned Mac systems, the TeamViewer ID will be the same on the old and the new Macs, pretty much rendering TeamViewer useless when both cloned and original Macs are running.

I had read some support posts and tested out some things (like changing the MAC address) to try to reset the TeamViewer ID but until I actually contacted TeamViewer support, none of the other fixes worked. So, instead of having to search for the solution, I figured I would write out the easy steps to reset the TeamViewer ID.

How to Reset the TeamViewer ID After Clonging a Mac

Here are the steps (which I slightly modified by adding some additional lines for the latest version 10 of TeamViewer) to reset the TeamViewer ID. The commands below are for the Mac. (I would expect the process for a PC to be different so I’m not covering how to do this on the PC.)

NOTE: YOU NEED TO RUN THESE COMMANDS ON THE NEW (CLONED) MAC, NOT THE ORIGINAL MAC.

These are terminal commands, meaning you need to launch the Terminal application (usually found under Applications > Utilities).

This is what TeamViewer Support provided me with:

(In case there are questions about the characters, here is an image with the commands.)

However, since I had installed TeamViewer version 10, there were some other .plist files specifically for version 10.

You can check to see which version you have by going to the Finder and choosing the “Go” menu and “Go to Folder…”. You then put in “

/Library/Preferences/“ and look for the “com.teamviewer.teamviewer10.plist” for example.

So if you have TeamViewer 10 installed, you will want to add some of these commands as well.

Here is the image of the commands to reset the TeamView ID:

Once you run these commands to reset the TeamViewer ID, everything should work ok.

What the various commands mean

You should never run terminal commands unless you know what you are doing and what the commands mean and do. For reference, I explain each of these commands. If you ever need to know what the commands mean, just go into termain and type “man” (for manual) and the command. For example, the first one here was from “man defaults”.

  • Defaults – allows users to read, write, and delete Mac OS X user defaults from a command-line shell. Mac OS X applications and other programs use the defaults system to record user preferences and other information that must be maintained when the applications aren’t running (such as default font for new documents, or the position of an Info panel). Much of this information is accessible through an application’s Preferences panel, but some of it isn’t, such as the position of the Info panel.
  • Defaults Delete – removes the default information.
  • rm – The rm utility attempts to remove the non-directory type files specified on the command line.
  • -f – Attempt to remove the files without prompting for confirmation, regardless of the file’s permissions. If the file does not exist, do not display a diagnostic message or modify the exit status to reflect an error.
  • Sudo – sudo allows a permitted user to execute a command as the superuser or another user, as specified in the sudoers file. The real and effective uid and gid are set to match those of the target user as specified in the passwd file and the group vector is initialized based on the group file (unless the -P option was specified). If the invoking user is root or if the target user is the same as the invoking user, no password is required. Otherwise, sudo requires that users authenticate themselves with a password by default (NOTE: in the default configuration this is the user’s password, not the root password).

These commands and the process outlined worked as I now have both the cloned and original MacBook Pros with different TeamViewer IDs. Also, there is a setting buried in the Advanced part of the TeamViewer that allows you to uninstall the application including the configuration files.

I didn’t test this process but it try using other 3rd party uninstallers which are supposed to remove all traces of the app including .plists. Unfortunately the uninstallers still produced the same TeamViewer ID.

Regardless, I highly recommend using TeamViewer as a personal support tool for helping remote family members with technology issues. Again, it is free to use for personal use but if you are going to use it in a business or corporate environment, you need to purchase a license.

HTD says: Once you know the commands, it’s pretty easy to reset the TeamViewer ID.

Источник

Читайте также:  Windows html help download
Оцените статью