PC Ekspert Forum

PC Ekspert Forum (https://forum.pcekspert.com/index.php)
-   Mreže (https://forum.pcekspert.com/forumdisplay.php?f=16)
-   -   Siemens SX763 otključavanje (https://forum.pcekspert.com/showthread.php?t=174453)

Nikky 28.05.2011. 18:08

Kog vraga će ti 108 kad je router 54 ?

Baja 001 28.05.2011. 18:48

Citiraj:

Autor Nikky (Post 1915587)
Kog vraga će ti 108 kad je router 54 ?

Govorin za "rutor" :D

On ima tu opciju.

Hackerivs 28.05.2011. 19:59

da ali koliko ja znam samo u kombinaciji sa onim nekim siemens stickovima.
stavi ti fino 54 mbit.

.Delboy 28.05.2011. 22:23

Router ima opciju Atheros Super G aka. 108mbps, ali onda i kartica mora to podrzavati i signal treba biti dobar, neznam za ostale chipsete al atheros kartice to sigurno podrzavaju

Baja 001 29.05.2011. 12:30

Citiraj:

Autor .Delboy (Post 1915662)
Router ima opciju Atheros Super G aka. 108mbps, ali onda i kartica mora to podrzavati i signal treba biti dobar, neznam za ostale chipsete al atheros kartice to sigurno podrzavaju

Ma znan to gleda san spec, nego me zanima oće li bit ikakvog poboljšanja u transferu, ono kao dva zasebna 54g?

EDIT:

All-in-one-pack SX763 @ multiupload :chears:

Hackerivs 29.05.2011. 18:44

isprobaš pa sam vidiš.

Sniper 31.05.2011. 02:16

Imam backup toga rutera, sada me interesira kako da ga "enkriptujem" tako da mogu procitati fino sta pise

Hackerivs 31.05.2011. 11:07

pošalješ meni taj enkriptirani config da ti da ja dekriptiram. to može isključivo ako treba u neku dobru svrhu.

Sniper 01.06.2011. 11:59

Citiraj:

Autor Hackerivs (Post 1916874)
pošalješ meni taj enkriptirani config da ti da ja dekriptiram. to može isključivo ako treba u neku dobru svrhu.

pa u biti i trebam, jel sam prije 2 godine podesavao rutere u hotelu, a neznam loginove vise za njih, a imam backupove spremljene u folderu jednom :P

Hackerivs 01.06.2011. 19:37

u configu ne piše password za ulaz u njih tako da ti to neće pomoći.
ako je tako kako govoriš, resetiraš ruter i ubaciš natrag config i radit će kako je i radilo.

Baja 001 02.06.2011. 00:04

Citiraj:

6.
>Access rule type: Apply to all clients
>Comment: svejedno
>Access level: custom
>Filtering mode: block (allow)
Ovo san jedva naša, mogli ste stavit Internet - Firewall - Access Control ;)


Citiraj:

$(cp /mnt/usbmsd/share/usb_0/passwd /etc) ILI $(cp /mnt/usbmsd/share/usb_1/passwd /etc) [ovo ovisi o particiji koju ruter prepoznaje na usb sticku. odluku koji ćete string upotrijebiti donosite na temelju prethodnog pregleda u USB meniju rutera gdje se particija može pročitati]
>U alatnoj traci browsera odete na ALATI te skroz ispod uključite tamper data. Čim vam se otvori prozor tamper data kliknite START TAMPER.
Pripazite na to da ništa ne radite na internetu osim ovog namještanja rutera
>Pritisnite tipku ADD
>Iskočit će vam prozor. odznačite kvačicu na continue tamper i pritisnite tampering
>Kopirajte cijeli sadržaj iz kućice reda (CTRL+A) IGD.V_Firewall.FWSOFTCoded.%7Bl%7D.name
>Kopirani sadržaj zalijepite tamo di vam piše TCP (naravno da prethodno izbrišete TCP)
>Kliknite na 'u redu'

7. Izbrišite access rule koji ste napravili tako da kliknete na access control i ispod stisnete delete. (nakon ovoga pa do reboota admin pass će biti user)
OK zalipin string, dignen temper data. Nakon toga ADD i onda počmu pusti pop-upovi, nakon toga zamjena ona TCP. Sada me zanima šta sa temper data nakon toga, ako i kako doć do delete profila bez da potvrdin 800k puta temper data.

Na kraju toga prije SSH triba li router resetirat?

Proba san već par puta i stalno iman access denied, a neman dole spomenut fw nego stariji. :smoke:


EDIT:
Sve rješeno. Ako neko ima problema sličnih neka javi, rado ću pomoć jer san ja skoro razbio svoga :D
EDIT2:
Ma skužio san sve to :)

Hackerivs 02.06.2011. 02:15

ups, ovaj šesti korak sam ja prilikom edita progutao..
uglavnom negdje griješiš, a što se tiče tamper data da ne iskače 800k puta nakon koraka 6 možeš ugasiti tamper data.
ali sad moj iskreni savjet; uskoro dolazi novi tutorijal, sa novim firmwareom. U novom tutorijalu neće trebati usb a i lutanja u webguiju bit će upola smanjena.

dakle svima savjet da sačekate i da se strpite. uskoro ćemo izbaciti novi fw uz značajno brži i lakši tutorijal :)

Andrija M 03.06.2011. 00:09

Citiraj:

Autor Hackerivs (Post 1918004)
U novom tutorijalu neće trebati usb

Nije valjda da ste uspjeli rasturiti root password ? :goood:

Baja 001 03.06.2011. 03:13

Citiraj:

U novom tutorijalu neće trebati usb
To san i ja jučer pokuša, ali bez obzira na dodjeljene ovlasti nisan moga kreirat folder priko ftpa :(

.Delboy 03.06.2011. 09:05

Citiraj:

Autor Baja 001 (Post 1918668)
To san i ja jučer pokuša, ali bez obzira na dodjeljene ovlasti nisan moga kreirat folder priko ftpa :(

Probaj preko onog file servera, dodas isto onako user i pass (probaj isti kao i za ftp) i kad pita za onaj kao ime za share stavis nesto i to ce se pojaviti kao folder kad se spojis.

bcsaba 03.06.2011. 12:53

Hi Guys!

Sorry, for english (not even sure if it is not against forum rules) but cant speak Crotian at all, found a way that makes SSH enabled way much easier (without USB needed at all) and read that for some it did not work due to firmware upgrade maybe new way will. (Siemens firmware has more holes than a Cheese). Going to test it a bit more then publish it once it works as i want it to.

Nikky 03.06.2011. 14:27

Welcome to PC Ekspert Forum, english will be just fine :chears:
Inform as when you have something useful or progress.

Hackerivs 03.06.2011. 15:54

Citiraj:

Autor bcsaba (Post 1918834)
Hi Guys!

Sorry, for english (not even sure if it is not against forum rules) but cant speak Crotian at all, found a way that makes SSH enabled way much easier (without USB needed at all) and read that for some it did not work due to firmware upgrade maybe new way will. (Siemens firmware has more holes than a Cheese). Going to test it a bit more then publish it once it works as i want it to.

Hello!

We have a configfile that enables SSH. (no need for USB)
And we've also found a way to copy the passwd file into the device without USB.
A new tutorial will be published in a few days.

bcsaba 03.06.2011. 16:22

4 privitaka
Replacing configfile resets whole config though.

Eighter way iam semi-ready and hopefully someone will find this useful too :)
If i did everything right this post should have an enablessh.txt attached to it, it is a php script as iam a lazy programmer (and as such need php to run).

Usage: php enablessh.txt (ipaddr) (web username) (web password) [new admin password]

Example: php enablessh.txt 192.168.1.1 operator operator (enables SSH)
php enablessh.txt 192.168.1.1 operator operator pwned (enables SSH and set administrator password to pwned)

What it does it connects to the router via webinterface, logs in and tell the router to enable ssh without any dirty hack, plus if 4th parameter given it changes administrator password too (even when logged in via subscriber account, Siemens did a really crappy work when it came to priviledge checking). As administrator login is needed to get a shell from SCM management console via sx762os or sx763os commands).

It might be done cleaner still though, any feedback appreciated as i only could try it on my SX763 as danube one already have wrt on.

PS:
For the ones do not trust the php script, it can be done via tamperdata method by tampering at Advanced Settings->Remote Management and adding the following elements (first enables ssh second change admin password):

X_set_IGD.V_SSH.Enable=1
Y_set_IGD.V_PasswordService.Administrator.Password=password

Where X is the next element of the last page post (mine is 4_set_IGD.V_WebServer.RemoteManagement.Interface so X would be 5 for me) and Y is X+1 and password is the urlencoded password you would like to administrator have.





Hackerivs 03.06.2011. 17:35

Well, you made a good job.
But, in our case, it's preety useless, because T-Com has locked LAN 3 and 4 to iptv with it's configfile.
The easiest way to unlock these locked LAN ports is to load a new config. Also, in our config we have disabled and removed T-Com remote maintenance.
I must also say that we, on Danube devices can't login into SSH /w administrator, only /w operator and subscriber. The sx763os trick does not work. That's why we must overwrite the passwd file.


Citiraj:

Autor Andrija M (Post 1918627)
Nije valjda da ste uspjeli rasturiti root password ? :goood:

Nismo. Ali čak i da imamo root password iz sigurnosnih razloga ga ne bismo smjeli pustiti van. Također bi i T-Com u tom slučaju radit probleme jer bi bili pogođeni SVI njihovi ruteri na optici.

Citiraj:

Autor Baja 001 (Post 1918668)
To san i ja jučer pokuša, ali bez obzira na dodjeljene ovlasti nisan moga kreirat folder priko ftpa :(

Novi način otključavanja nema veze ni s USB-om ni FTP-om. ;)

bcsaba 03.06.2011. 17:40

Administrator login is disabled or just not have password for it? (If i remember good SCM does not have an option to disable administrator account, but might be wrong). I only made the script because router was reset (when was trying to change connection type from DSL to Ethernet, seems like this one not likes it, would been nice to have voip as do not think the one with WRT will ever have one (do not think 32mb will be enought for asterisk and the voip drivers alone, times even dsl driver running out of it)

sx763os trick does not work because that command need 0 uid/gid on retail boxes only administrator and root have that level of access (and root password is unknown (hopefully)), T-Com firmware might disable administrator account (though iam quiet sure they do not have password for root eighter) but that would break firmware compatibility with retail devices (think scm_app have administrator hardcoded into it quiet a few times), i do not tell script makes it easier, but if it have administrator account due to bug its password can be changed by any other subscriber/operator user, and once log on with that sx763os should give shell (that is due to firmware compatibility too).

Hackerivs 03.06.2011. 18:19

I think the Administrator login is disabled. On your website you wrote that the admin password is equal to the WebGui password. I've tried to do so many times but it still doesn't work.

bcsaba 03.06.2011. 18:29

Citiraj:

Autor Hackerivs (Post 1919057)
I think the Administrator login is disabled. On your website you wrote that the admin password is equal to the WebGui password. I've tried to do so many times but it still doesn't work.

That more means like unknown (its password not admin :)) than "not exists", on retail device my script changes that password (what goes for administrator user/default web login) using fake admin_user subscriber or operator to do so (and that will never be done through config_file as it is stored elsewhere), what is funny/or sad as with operator/subscriber SCM in V_PasswordService Administrator not even visible (still it is there just only shown to administrator creditants, like sx763os), so siemens did a good job there, just messed up at the webpage.. Easy to check though if you cat /etc/passwd and administrator user in it then it is there. :)

Or cat /config/system_configfile_r

Here it shows:

IGD.V_PasswordService.Administrator.Password=1055268;adminlame
....

So administrator password set to adminlame (was testing script, this is what defaults to admin on retail devices), as the routers "firmware" compatible that would make me think, T-Com was setting up Administrator password for the device, so those routers defaults to admin too but as soon as scm_app loads it changes (like my case to adminlame right now).

Why hungarian T-Com cant give devices like this (they gave me a D-Link 360R "access device" not even sure where it is). By the way here they like to give really complex admin username/passwords like (Dlink/Bridge, Telindus/Bridge, .../Bridge) would make me laught if the password would be Bridge there too. :D

.Delboy 03.06.2011. 21:11

Hi bcsaba.

You are right about sx763os working on administrator acc, just checked that and it works.
The reason why administrator password is not accepted is because there is a ssh public key located in /config/certs/pubkeys/administrator/ named 1copy1.
If any file is located at /config/certs/pubkeys/username/ than ssh server uses that for auth, and it ignores one from /config/system_configfile_r.

I assume that public key is only located in t-com and other branded fw-s, so by loading some older fw, which doesn't have that public key, it will accept web password and than we can get shell access.

About the voip on openwrt, it works ,even without asterix, ( check http://code.google.com/p/danube-voip/ ).

bcsaba 03.06.2011. 21:46

Citiraj:

Autor .Delboy (Post 1919181)
Hi bcsaba.

You are right about sx763os working on administrator acc, just checked that and it works.
The reason why administrator password is not accepted is because there is a ssh public key located in /config/certs/pubkeys/administrator/ named 1copy1.
If any file is located at /config/certs/pubkeys/username/ than ssh server uses that for auth, and it ignores one from /config/system_configfile_r.

I assume that public key is only located in t-com and other branded fw-s, so by loading some older fw, which doesn't have that public key, it will accept web password and than we can get shell access.

That explains why, sadly than script not really useful for any branded device. Seems like it doing same with here, just made the dirrectory and an empty 1copy1 and it did not accept password anymore. The problem with older firmwares that as far as i remember firmware updates never touch config jffs2 area.

Citiraj:

About the voip on openwrt, it works ,even without asterix, ( check http://code.google.com/p/danube-voip/ ).
When i will have patience to compile new trunk will give it a try, not sure how well it works now, my filesystem on an USB hdd, remember that was a major pain to reach (USB worked fine as a module, once compiled into the kernel, broke ADSL, had to mess with MEI load order to have both work, plus patch rootdelay into to wait until kernel detects harddrive), and that is just one thing not sure what works and not in trunk now.

AviX 04.06.2011. 14:45

Pozdrav,

Nije mi jasan prijelaz iz koraka 5 u korak 6. Gdje se nalaze opcije opisane u koraku 6 ?

Baja 001 04.06.2011. 14:50

Advanced > Internet > Firewall > :chears:

I mene je to jebalo upočetku. I obavezno stavi nešto pod komentar.

AviX 04.06.2011. 18:12

Uspio sam u medjuvremenu skuziti gdje je.
Sad sam se uspjesno logirao putem SSH sa username: operator i password: operator. Namjera mi je dodati staticke rute zato jer iza routera imam vise subnetova. Jel tko to uspio napraviti. Otisao sam u Layer3Forwarding. Postavio sam atribut V_AdvancedRoutingEnable na 1 (enabled). No ne mogu nikako pronaci gdje dodati staticke rute. Ako tko ima saznanja bio bih zahvalan.

Baja 001 04.06.2011. 18:51

root i operator, a ne operator i operator :rtfm:

AviX 04.06.2011. 19:52

Pozdrav jos jednom,
Kod preimenovanja filea iz PASSWD u passwd ftp klijent javlja error RNFR command not allowed i datoteka ostane u PASSWD. Probao vise FTP klijenata. Neznam zasto se dogadja ovo ako je stavljen full access u GUI-u ?


Sva vremena su GMT +2. Sada je 21:44.

Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© 1999-2024 PC Ekspert - Sva prava pridržana ISSN 1334-2940
Ad Management by RedTyger